I am executing a command using the exec task as given below. I would
like ANT to exit out of the command using the timeout parameter, however
I see that the timeout parameter does not seem to do anything and ANT
does not exit.

This works well when I use sshexec

<exec executable="/bin/sh" failonerror="true" timeout="18000">
<arg line='-c "/startxxxxx.sh"'/>
</exec>

Any ideas?

Anil

Reply via email to