diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-09-30 14:05:12 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-01 21:20:14 +0200 |
commit | 519d1811fd9fc159dd55fa416a653706efd496ff (patch) | |
tree | c5317989ec807c91a5bd80ad2965329d61682eb0 /Shell/Job.h | |
parent | a7828434c0bfb80ece6ce9a712e0d1a023a4a7e8 (diff) | |
download | serenity-519d1811fd9fc159dd55fa416a653706efd496ff.zip |
Shell: Wait for *any* child to change state when receiving a SIGCHLD
This really just works around the core issue, which is that we have no
reliable way to know exactly who raised the signal (yet).
Fixes #3645, in a very weird (yet apparently standard) way.
Diffstat (limited to 'Shell/Job.h')
-rw-r--r-- | Shell/Job.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Shell/Job.h b/Shell/Job.h index 9f89bf54b8..b3ad9f6765 100644 --- a/Shell/Job.h +++ b/Shell/Job.h @@ -52,7 +52,8 @@ public: #ifdef JOB_TIME_INFO if (m_active) { auto elapsed = m_command_timer.elapsed(); - dbg() << "Command \"" << m_cmd << "\" finished in " << elapsed << " ms"; + // Don't mistake this for the command! + dbg() << "Job entry \"" << m_cmd << "\" deleted in " << elapsed << " ms"; } #endif } |