mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Do notify about jobs that were continued outside fish
When sending SIGCONT to a stopped job, this behaves now a bit more like a job that was continued by the bg builtin; bg uses job_t::continue_job which seems overkill here.
This commit is contained in:
parent
a9b60d2493
commit
285861d346
1 changed files with 3 additions and 0 deletions
|
@ -430,6 +430,9 @@ static void process_mark_finished_children(parser_t &parser, bool block_ok) {
|
|||
if (proc->status.stopped()) {
|
||||
j->mut_flags().foreground = false;
|
||||
}
|
||||
if (proc->status.continued()) {
|
||||
j->mut_flags().notified = false;
|
||||
}
|
||||
if (proc->status.normal_exited() || proc->status.signal_exited()) {
|
||||
FLOGF(proc_reap_external,
|
||||
"Reaped external process '%ls' (pid %d, status %d)",
|
||||
|
|
Loading…
Reference in a new issue