Jacek Caban (@jacek) commented about dlls/ntdll/unix/process.c:
{ if (!(pid = fork())) /* grandchild */ {
if (params->ConsoleFlags ||
if (params->ProcessGroupId == GetCurrentProcessId() ||
`GetCurrentProcessId()` will return parent process ID at this stage. Should we use something like `peb->ProcessParameters->ProcessGroupId` here instead?