ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob, Anil - MWL" <jacob.a...@menloworldwide.com>
Subject Exec timeout
Date Wed, 12 Oct 2005 20:24:05 GMT
 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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message