> > Hi Nicolas
> >
> > hmm... you've forgot to flushing and closing the OutputStream!
> 
> and you have to do it in a "finally" clause if you want it to be 
> reliable.
> 
I've also to bleat ;)

Remove 'Thread.sleep(20000)', 

if your'e waiting for the execution do that:
* 
//close the Stream before calling this!!!
Process p = Runtime.getRuntime().exec(cmd);
p.waitFor();
*


cu


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to