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