* fhandler_tty.cc (fhandler_tty_slave::init): Revert to using tc->setpgid since
previous change broke some use cases.
This commit is contained in:
@@ -726,7 +726,7 @@ fhandler_tty_slave::init (HANDLE f, DWORD a, mode_t)
|
||||
{
|
||||
termios_printf ("Setting process group leader to %d since %W(%d) is not a cygwin process",
|
||||
myself->pgid, p->progname, p->pid);
|
||||
tcsetpgrp (myself->pgid);
|
||||
tc->setpgid (myself->pgid);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user