On Wed, 7 Nov 2001, Jose Alberto Fernandez <[EMAIL PROTECTED]> wrote:
> 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 well. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
