You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Jacob, Anil - MWL" <ja...@menloworldwide.com> on 2005/10/12 22:24:05 UTC

Exec timeout

 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