Joe Buehler <jhpb@draco.hekimian.com>
* fork.cc (fork_parent): Don't copy signals from parent to child here. * sigproc.cc (proc_subproc): Copy signals from parent to child pinfo here.
This commit is contained in:
@ -295,6 +295,7 @@ proc_subproc (DWORD what, DWORD val)
|
||||
vchild->sid = myself->sid;
|
||||
vchild->ctty = myself->ctty;
|
||||
vchild->process_state |= PID_INITIALIZING | (myself->process_state & PID_USETTY);
|
||||
vchild->copysigs (myself);
|
||||
|
||||
sigproc_printf ("added pid %d to wait list, slot %d, winpid %p, handle %p",
|
||||
vchild->pid, nchildren, vchild->dwProcessId,
|
||||
|
Reference in New Issue
Block a user