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 40632] - spawned process through exec task blocks parent exec task
Date Fri, 29 Sep 2006 08:03:59 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=40632>.
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=40632





------- Additional Comments From antoine@apache.org  2006-09-29 08:03 -------
Hello Matt,

we could make a slightly modified version of this CreateDetachedProcess.cpp
which would just create a really detached process without inherited handles, and
ship Ant with CreateDetachedProcess.exe in the bin directory, and wrap spawning
under Win32 with this CreateDetachedProcess.exe.

The CreateDetachedProcess.cpp in the attached zip file has this line :

  LPTSTR lpCommandLine = "Notepad";


if instead we write the Microsoft VC++ equivalent of :

LPTSTR lpCommandLine = join(argv, " "); // do not know which idiom we could use here

then we would have something.

The other thing we can do is have a look whether Sun has done some work on this
issue in JDK 1.6. Else one of us could write in the BugParade, so that the issue
gets addressed.

Regards,

Antoine

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

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


Mime
View raw message