On 8/14/07, Darnelle Roby <[EMAIL PROTECTED]> wrote:
snip
> Once we call the script using an Oracle forms Host call the script returns an
> error in the log file of "Bad file descriptor".
snip
> if (system("ghostscript -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite
snip

It sounds like ghostscript is getting an error due to the lack of an
environmental variable.  Make sure that the environment is the same
when running under Oracle.  One way to do this is to use a shell
script wrapper to call the perl script.  Inside the wrapper source
whatever profile is being used by the user who can run the script by
hand.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to