Forum Stats

  • 3,769,920 Users
  • 2,253,030 Discussions
  • 7,875,240 Comments

Discussions

Unable to display output of an ade perl script on browser

User771294-Oracle
User771294-Oracle Member Posts: 3
edited Jun 1, 2015 2:03PM in Python

I have creates a cgi to display the output of an ade perl script on browser. The cgi calls a shell script which executes the command.

The syntax looks like this:

echo $(ade exec "perl5.8 /usr/local/ade/util/adhoc_query_scripts/list_merges_to_branch.pl -b st_fusionapps_pt-interpprj -p FUSIONAPPS -d 33 -sort_by date -no_files")  ;


The same script works fine from terminal but doesnt yield any result on UI.


Any clue why this is happening?


Thanks and Regards,


Answers

  • Christopher Jones-Oracle
    Christopher Jones-Oracle Member Posts: 1,643 Employee
    edited Jun 1, 2015 2:03PM

    When something works in one environment but not another, check the environment.  In this case you might be missing some Oracle environment variables - but that's a pure guess since your problem description didn't include important information such as what your ade is, and what your script does.

This discussion has been closed.