mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-02 13:49:45 +08:00
Revert "No need to unblock last process since it will no longer be SIGSTOP'd"
This reverts commit 30aa8b3663
.
It was meant for the major branch.
This commit is contained in:
parent
b3f43723dc
commit
607d9e6aef
|
@ -1199,6 +1199,13 @@ void exec_job(parser_t &parser, job_t *j) {
|
|||
}
|
||||
}
|
||||
|
||||
//unblock the last process in the group
|
||||
if (blocked_pid != -1)
|
||||
{
|
||||
kill(blocked_pid, SIGCONT);
|
||||
blocked_pid = -1;
|
||||
}
|
||||
|
||||
// Clean up any file descriptors we left open.
|
||||
if (pipe_current_read >= 0) exec_close(pipe_current_read);
|
||||
if (pipe_current_write >= 0) exec_close(pipe_current_write);
|
||||
|
|
Loading…
Reference in New Issue
Block a user