don't use WNOHANG

svn path=/trunk/; revision=29095
This commit is contained in:
Christoph von Wittich 2007-09-18 18:59:53 +00:00
parent ee5642eccc
commit 38cb0b7e17

View file

@ -112,7 +112,7 @@ namespace System_
/* parent process */ /* parent process */
if (bWait) if (bWait)
{ {
waitpid(pid, NULL, WNOHANG); waitpid(pid, NULL, 0);
} }
} }
return pid; return pid;