More spawn & Windows processes

Christopher Faylor me@cgf.cx
Mon Dec 27 00:39:00 GMT 2004


On Sun, Dec 26, 2004 at 07:31:36PM -0500, Christopher Faylor wrote:
>Why not just generically detect when exitcode hasn't been set and use
>the value returned from GetExitCodeProcess in proc_waiter?  That is the
>way I was originally going to handle the problem with getting the exit
>code from processes that had been killed via the task manager.  I'll
>just implement that.  It eliminates the extra code in init.cc and just
>moves the detection from child_info::sync.

Actually, no, it doesn't fix this case because a grandchild exec'ed
process that has been killed via task manager or with a grandchild
exec'ed process which has used ExitProcess.

Back to the drawing board...

cgf



More information about the Cygwin-developers mailing list