ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mowcomber, Dustin" <dmowcom...@automotive.com>
Subject SSHExec - Feature request
Date Wed, 13 Apr 2011 19:10:06 GMT
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

dmowcomber@automotive.com <mailto:dmowcomber@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.





 


Mime
View raw message