Re: How to report a death by signal ?

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Wed, 18 Feb 2015 13:58:34 +0100

  I'm leaning more and more towards the following approach:

  - child crashed: exit 128 + signal number
  - child exited with 128 or more: exit 128
  - else: exit the child's exit code.

  Assuming "normal" commands never exit more than 127, that
reports the whole information to the immediate parent, and
correct information, if incomplete, higher up. That should
be enough to make things work in all cases.

  Thoughts ?

-- 
  Laurent
Received on Wed Feb 18 2015 - 12:58:34 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC