in reply to Exit codes and signals

Do you mean exit $returnvalue;, or am I missing something?

exit


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Replies are listed 'Best First'.
Re^2: Exit codes and signals
by Anonymous Monk on Feb 06, 2016 at 18:48 UTC
    yes, exit($returnvalue). The point being that I want to inform the monitor (gp) that the whole thing stopped early due to signal as opposed to normal termination indicate by exit(0).