ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <>
Subject [PATCH] Asynchronous execution of processes
Date Wed, 07 Nov 2001 13:01:03 GMT

Here I am again, OH NO!!!  :-)

This is the patch that we discussed about allowing executing forked processes asynchronously.
Requested by Ken Wood. It provides a new "detach" attribute for the <exec> and <java>

Whether the forked command continues running after the JVM stops, I think depends on the
OS and on whether it performs IO on the standard streams or not.
The changes do not rely on any OS specifics (all Java) and you can still use the timeout
option to stop the forked process (as long as ANT's VM is still running).

Only tested on Win2K, were the process will keep on running after the VM ends, unless
it tries to do IO on the standard streams.

Hope this patch passes the commiters muster ;-)


Jose Alberto

View raw message