mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-27 21:37:23 +08: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
@ -430,6 +430,9 @@ static void process_mark_finished_children(parser_t &parser, bool block_ok) {
|
|||||||
if (proc->status.stopped()) {
|
if (proc->status.stopped()) {
|
||||||
j->mut_flags().foreground = false;
|
j->mut_flags().foreground = false;
|
||||||
}
|
}
|
||||||
|
if (proc->status.continued()) {
|
||||||
|
j->mut_flags().notified = false;
|
||||||
|
}
|
||||||
if (proc->status.normal_exited() || proc->status.signal_exited()) {
|
if (proc->status.normal_exited() || proc->status.signal_exited()) {
|
||||||
FLOGF(proc_reap_external,
|
FLOGF(proc_reap_external,
|
||||||
"Reaped external process '%ls' (pid %d, status %d)",
|
"Reaped external process '%ls' (pid %d, status %d)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user