diff options
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 4e93b1888..688655c8a 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -692,7 +692,8 @@ loop: goto out; } - if (iscygwin ()) + /* The CREATE_SUSPENDED case is handled below */ + if (!(c_flags & CREATE_SUSPENDED)) strace.write_childpid (*this, pi.dwProcessId); /* Fixup the parent data structures if needed and resume the child's |