----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi

I have a java servlet that starts a perl process using
    Process child = Runtime.getRuntime().exec(progarray);

The code works fine when I run it in a regular application from the command
line.

However, from with a servlet, I get a CreateProcess IOException.

"IOException: CreateProcess: perl /mydir/basic.pl  error=2"

Although it didn't throw a security exception, I suspect that is the cause.
Not sure if this is correct, nor how to rectify.  Any suggestions?

Platform: Window NT, Apache mod_jserv.

Thanks

Stan Weinronk



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to