Paolo Gallo wrote:
>

>           process = runtime.exec(cmd);
>          int i = process.exitValue();
>         out.println("Executes:<br>"+cmd);
>    }
>       catch(IllegalThreadStateException  ex) {
>         ex.printStackTrace(out);

>
before you get process.exitValue(), add a line process.waitFor();

sven

--
======================================================================================
Sven van 't Veer                                              http://www.cachoeiro.net
Java Developer                                                      [EMAIL PROTECTED]
                                        _/_
The answer                             /   \
    to the ultimate question        nnn|.
.|nnn                                     42
=========================================U============================================

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to