mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-24 09:21:16 -03:00
unblock_previous on exec_job finish
This commit is contained in:
committed by
Kurtis Rader
parent
c3d756b5df
commit
5db8065f15
@@ -1205,6 +1205,11 @@ void exec_job(parser_t &parser, job_t *j) {
|
||||
exec_close(pipe_current_write);
|
||||
pipe_current_write = -1;
|
||||
}
|
||||
|
||||
//unblock the last process because there's no need for it to stay SIGSTOP'd for anything
|
||||
if (p->is_last_in_job) {
|
||||
unblock_previous();
|
||||
}
|
||||
}
|
||||
|
||||
// Clean up any file descriptors we left open.
|
||||
|
||||
Reference in New Issue
Block a user