ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [PATCH] Asynchronous execution of processes
Date Thu, 08 Nov 2001 13:36:33 GMT
On Wed, 7 Nov 2001, Jose Alberto Fernandez <>

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

scary ;-)

> 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).

I'm not sure whether this satisfies all use cases people have for
detach, leaving the currently running VM completely would probably be
preferred by most people.  Maybe we should use your version for all
the OSes we don't have an OS dependent version for?

The Unix case would be more or less trivial as long as detach="true"
implies running via a shell script.  A platform dependent solution
would make the use of a timeout feature impossible, but I don't think
a combination of detach (which is spawn and forget about it in my
book) and timeout is something people will need anyway.

Why does detach imply fork for <java> using your implementation?  You
could as well wrap a daemon thread around invoking the classes main as


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message