[erlang-patches] run_erl: propagate exit status
Mon Sep 26 12:23:14 CEST 2011
On 09/02/2011 07:11 PM, Magnus Henoch wrote:
> Hi all,
> Here is a patch that makes run_erl return the exit status of its child
> process. (Probably only useful when using run_erl without -daemon,
> just for convenient logging.)
> I added a signal handler for SIGALRM, since that appeared to be one of
> the ways run_erl exits, but I haven't been able to trigger that in my
> testing (it always exits because it can't read from the child's pty).
> I would appreciate informed opinions about whether that part is
> necessary and correct.
> git fetch git://github.com/legoscia/otp.git run_erl_exit_status
> erlang-patches mailing list
Your patch is included in 'pu'
/Henrik Nord Erlang/OTP
More information about the erlang-patches