diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-20 04:20:21 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-20 04:20:21 +0000 |
commit | a333dca2b8911e7cb09ab7ff38692ae879e8b67a (patch) | |
tree | ba6895c1454afb8650eb6704b0d3ef0611c44574 /winsup/cygwin/external.cc | |
parent | 74266a0fee830ed4162d10e253c872f349511a23 (diff) | |
download | cygnal-a333dca2b8911e7cb09ab7ff38692ae879e8b67a.tar.gz cygnal-a333dca2b8911e7cb09ab7ff38692ae879e8b67a.tar.bz2 cygnal-a333dca2b8911e7cb09ab7ff38692ae879e8b67a.zip |
* external.cc (fillout_pinfo): Pass PID_NOREDIR flag to pinfo init to avoid
finding execed processes twice.
* signal.cc (kill_pgrp): Ditto.
* spawn.cc (spawn_guts): Avoid passing first argument to CreateProcess when
running a windows shell so that CreateProcess will locate the shell.
Reorganize so that correct error is returned when CreateProcess fails.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r-- | winsup/cygwin/external.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 3a04453ed..0623911d5 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -44,7 +44,7 @@ fillout_pinfo (pid_t pid, int winpid) DWORD thispid = pids[i++]; if (!thispid) continue; - pinfo p (thispid); + pinfo p (thispid, PID_NOREDIR); if (!p) { |