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


For info:

        * pinfo.cc (_pinfo::dup_proc_pipe): Close handle if DuplicateHandle
        fails and process no longer exists.

DUPLICATE_CLOSE_SOURCE 	Closes the source handle. This occurs regardless of
any error status returned.

So the handle should always be closed, even if the process still exists.

Pierre

  


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