If using either std.c.process or std.process spawnvp does not handle P_NOWAIT correctly. How ever to check this i loaded msvcrt.dll and used _spawnvp from there and it worked correctly. Not sure how or what caused this. But it is deffently an issue it is an old function that is obslite but i like it because it is easy to use and cleaner than CreateProcess...
-Dave
Comment #1 by andrei — 2015-11-03T19:15:46Z
It's unlikely this D1 issue will get worked on. If it applies to D2 as well and/or if anyone plans to work on it, please reopen.