ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5003] - exec task does not return after executed command finished on Windows only
Date Sat, 04 Dec 2004 17:29:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=5003>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=5003





------- Additional Comments From adam.sotona@sun.com  2004-12-04 18:29 -------
so once again:
- this bug occures on Windows only

- if you just execute emacs from Java on Linux - the Java process finishes - OK
- if you'll do it using Ant - it finishes - OK
- if you execute notepad (or whatever you want) on Windows - the Java process
finishes - again correct behavior
- but if you'll do it through Ant on Windows it will wait till ALL executed
processes close their streams and that's not correct

everything was already described here and several patches were proposed

you just need to cut the streams pumping when the process dies on Windows after
some timeout - that's all

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message