]> git.etc.gen.nz Git - spong.git/commit
Fix up handling of commands that are executable and add lots more debugging.
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 27 Dec 2007 09:11:56 +0000 (22:11 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Thu, 27 Dec 2007 09:11:56 +0000 (22:11 +1300)
commit48634510f32551bb3dac3e211c8fcfcaa14fb35c
treed35451908de10c2e6d9ea5a853879964e615e16e
parent14be979e903bfafb1f1e1c54e4c939dcf4a8e753
Fix up handling of commands that are executable and add lots more debugging.

Back when I was using Spong at a previous job years ago, and again now that
I'm playing with it at home I ran into problems with lots of spong-network
processes all claming to be checking the same server and check.

I finally decided to dig into it.  In the current case it is because the
program wasn't executable and SafeExec wasn't working that out.  The
forked child was continuing to run for whatever reason.

This appears to work correctly now, I don't have ghost spong-network
processes hanging around anymore.
src/lib/Spong/SafeExec.pm