From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Mullee To: jmm@raleigh.ibm.com, Cygnus32 Subject: Re: pid problem found Date: Sun, 28 Feb 1999 23:02:00 -0000 Message-ID: <36BEF2B3.4A3B0C4C@exmachina.net> References: <199902080327.WAA24699@jmm.raleigh.ibm.com> X-SW-Source: 1999-02n/msg00213.html Message-ID: <19990228230200.0K1FPT8ikVtpv7i-0bmjoZSIJrFxBlQHaSiXHd1f9B8@z> > PROCESS_INFORMATION structure has a dwProcessId entry that's usally > between 3 to 5 times the value of the real pid. This sounds very wierd. The createprcess documentation says that the PID returned is valid until the process ends; it also says that the dwCreation flags can be ORed with CREATE_NEW_CONSOLE and CREATE_NEW_PROCESS_GROUP, and that the resulting pid can be used with OpenProcess. Would it be possible that this 'pid' is something other than that id seen in taskmanager? does cygwin's waitpid use the CreateProcess-pid? or something else? Could you send me the relevant source? Are you running W95/98, or NT? John -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com