A
Andreas S
how do you check if your child process from fork still alive or not? In perl
I can send kill(0, $cid), I think. But Process.kill(0, child_id) always
returns 1.
To be honest, I couldn't get the perl code to work either. It always returns
1 too.
I can do `ps -p #{child_id}` but I wonder if Process.kill should work too.
-andre
_________________________________________________________________
Win a Zune™—make MSN® your homepage for your chance to win!
http://homepage.msn.com/zune?icid=hmetagline
I can send kill(0, $cid), I think. But Process.kill(0, child_id) always
returns 1.
To be honest, I couldn't get the perl code to work either. It always returns
1 too.
I can do `ps -p #{child_id}` but I wonder if Process.kill should work too.
-andre
_________________________________________________________________
Win a Zune™—make MSN® your homepage for your chance to win!
http://homepage.msn.com/zune?icid=hmetagline