Re: [PATCH v2 06/14] mingw: use real pid
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jan 15, 2010, 22:30 UTC
- Message-ID
- <201001152330.06083.j6t@kdbg.org>
- In-Reply-To
- <1263591033-4992-7-git-send-email-kusmabite@gmail.com>
On Freitag, 15. Januar 2010, Erik Faye-Lund wrote:
Show 7 quoted lines
> @@ -729,7 +729,7 @@ static pid_t mingw_spawnve(const char *cmd, const char > **argv, char **env, return -1; > } > CloseHandle(pi.hThread); > - return (pid_t)pi.hProcess; > + return (pid_t)pi.dwProcessId; > }
You are not using the pi.hProcess anymore, so you must close it.
-- Hannes