]> git.etc.gen.nz Git - spong.git/commit
Don't try and use main::log, it doesn't exist. Use carp instead.
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 27 Dec 2007 20:30:05 +0000 (09:30 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Thu, 27 Dec 2007 20:30:05 +0000 (09:30 +1300)
commit04508725e2783350ee547b950ce211cfaa847f57
treeacebb18c0d0e304d4463076eeaf76ff346b351c8
parent11fe52e70542804ff8924ffc577591b4ed76f535
Don't try and use main::log, it doesn't exist.  Use carp instead.

It seems that if the child process has any problems whatsoever it continues
to run, returning from SafeExec and usurping control.  So everytime the
child has a problem, it usurps control, leaving the parent waiting.

After a while you get quite a few processes hanging around doing waitpids.
src/lib/Spong/SafeExec.pm