> 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)".