Re: System call returning Bad file Descriptor

2007-08-14 Thread Chas Owens
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 getti

System call returning Bad file Descriptor

2007-08-14 Thread Darnelle Roby
Currently running the following code within a script on an Linux based Oracle Apps Server. When script ran directly from linux it runs successfully. Once we call the script using an Oracle forms Host call the script returns an error in the log file of "Bad file descriptor". I have confirmed