* spawn.cc (spawn_guts): Force parent to forget about P_DETACH'ed process.
This commit is contained in:
parent
e0520ec4b7
commit
e85c18a883
|
@ -1,3 +1,8 @@
|
|||
2004-12-21 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* spawn.cc (spawn_guts): Force parent to forget about P_DETACH'ed
|
||||
process.
|
||||
|
||||
2004-12-20 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* path.cc (normalize_win32_path): Remove unneeded check for dots.
|
||||
|
|
|
@ -839,6 +839,8 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
|||
However, we should try to find another way to do this eventually. */
|
||||
(void) DuplicateHandle (hMainProc, child.shared_handle (), pi.hProcess,
|
||||
NULL, 0, 0, DUPLICATE_SAME_ACCESS);
|
||||
if (mode == _P_DETACH)
|
||||
myself.alert_parent (0);
|
||||
child->start_time = time (NULL); /* Register child's starting time. */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue