Maybe the "command" object is the problem. Probably you are trying to execute
an object not its value, try to get the command string objects value.

Good luck

Prosperini wrote:

> I tryed to launch this script from  a servlet using this code
>
> Runtime rt = Runtime.getRuntime();
> Process proc = null;
> String[] command = {"/u/bin/java.sh"};
> proc = rt.exec(command);
>
> my problem is that java doesn't return any error but the script seems
> not to be excecuted
>
> please help me
>
> thanks
>
> ___________________________________________________________________________
> 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

___________________________________________________________________________
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