This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More spawn & Windows processes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]