I would like to suggest that we add an attribute to SSHExec called exitStatusProperty so that the exit status can be set to a property when the ssh command is finished.
There would be many uses for this such as testing if a file exists on an ssh server by executing 'test -e ${file}' which return with an exit code of 0 if exists or 1 if doesn't exist. I've attached the necessary changes if anyone wants to commit them. Dustin Mowcomber Software Build Engineer dmowcom...@automotive.com <mailto:dmowcom...@automotive.com> tel. 949.705.3260 Source Interlink Media 1733 Alton Pkwy, Irvine, CA 92606 www.automotive.com <http://www.automotive.com> Confidentiality Notice- This electronic communication, and all information herein, including files attached hereto, is private, and is the property of the sender. This communication is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure of; dissemination of; distribution of; copying of; or, taking any action in reliance upon this communication, is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone, (714)-389-5000, and destroy all copies of this communication. Thank you.
<<image001.jpg>>
<<image004.jpg>>
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org