From 285861d3466ce8b04c3996e95985424485477411 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 22 May 2020 21:28:54 +0200 Subject: [PATCH] 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. --- src/proc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/proc.cpp b/src/proc.cpp index 3cca46594..728571150 100644 --- a/src/proc.cpp +++ b/src/proc.cpp @@ -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)",