Hi,
I am trying to run a shell "test" command on a remote server, to check for the existence of a file, using <sshsession> task which is available in ANT 1.8. Getting error: "CreateProcess: test -f /tmp/test.log error=2" Here's the code, not sure what's wrong here. <sshsession host="abc123" username="admin" password="admin" trust="true" failonerror="true"> <sequential> <exec executable="test"> <arg line="-f"/> <arg line="/tmp/test.log"/> </exec> </sequential> </sshsession> Thanks in advance. Usman Chaudhri