complete-run: explicitly state why we need to overwrite SIGCHLD

This commit is contained in:
Michael Stapelberg 2011-10-05 23:29:58 +01:00
parent 3136573a70
commit 27a38a3917
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ use AnyEvent::Handle;
use AnyEvent::I3 qw(:all);
use X11::XCB;
# install a dummy CHLD handler to overwrite the CHLD handler of AnyEvent / EV
# Install a dummy CHLD handler to overwrite the CHLD handler of AnyEvent / EV.
# AnyEvents handler wait()s for every child which conflicts with TAP (TAP
# needs to get the exit status to determine if a test is successful).
# XXX: we could maybe also use a different loop than the default loop in EV?
$SIG{CHLD} = sub {
};