mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 23:02:44 +08:00
No need to unblock last process since it will no longer be SIGSTOP'd
This commit is contained in:
parent
abf6874a2d
commit
30aa8b3663
|
@ -1199,13 +1199,6 @@ 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