* exceptions.cc (sig_handle_tty_stop): Ignore attempts to suspend a process if
started by non-cygwin parent.
This commit is contained in:
@ -589,6 +589,10 @@ extern "C" {
|
||||
static void
|
||||
sig_handle_tty_stop (int sig)
|
||||
{
|
||||
/* Silently ignore attempts to suspend if there is no accomodating
|
||||
cygwin parent to deal with this behavior. */
|
||||
if (!myself->ppid_handle)
|
||||
return;
|
||||
myself->stopsig = sig;
|
||||
/* See if we have a living parent. If so, send it a special signal.
|
||||
* It will figure out exactly which pid has stopped by scanning
|
||||
|
Reference in New Issue
Block a user