[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Clarification needed on signal spec EXIT

From: Francis Moreau
Subject: Clarification needed on signal spec EXIT
Date: Tue, 16 Oct 2012 19:26:48 +0200


Currently the description of the builtin trap isn't enough regarding
the description of the EXIT signal spec, IMHO.

It says: "If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from
the shell.", and nothing more, unless I'm missing some other points
about it somewhere else (that would be unfortunate too).

Specifically, the documentation should specify exactly what "exit from
the shell" means: for example killing a shell process makes it exit
somehow. Is this is supposed to be handled by EXIT signal spec ?

Another thing that should be clarified is what's happening in the
context of a subshell ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]