RE: sshexec error handling

2005-06-08 Thread Dick, Brian E.
I got it working with "if", but your version is shorter. Thanks. -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 3:52 PM To: Ant Users List Subject: Re: sshexec error handling Like in C: "cmd1 && cmd2&quo

Re: sshexec error handling

2005-06-08 Thread Alexey N. Solofnenko
Like in C: "cmd1 && cmd2" - Alexey. Dick, Brian E. wrote: I need to execute two commands with sshexec. How can I get sshexec to fail when the first command fails? Later, BEDick -- / Alexey N. Solofnenko home: htt

sshexec error handling

2005-06-08 Thread Dick, Brian E.
I need to execute two commands with sshexec. How can I get sshexec to fail when the first command fails? Later, BEDick