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:
Johannes Altmanninger 2020-05-22 21:28:54 +02:00
parent a9b60d2493
commit 285861d346

View file

@ -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)",