Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: use of RunTime class

Mike New

2003-07-29

Replies:

> try putting pr.waitFor() after
> Process pr=run.exec("ssh -l <usrname> -p <portname> <ip address>");
>
> it waits for the process to get executed before executing next
> statement.
>
> HTH,
> uthiresh
>
An excellent article on this issue is at:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

Mike New
------------------- _/ /// // --------------------

===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".



©2008 junlu.com - Jax Systems, LLC, U.S.A.