kill 0 doesn"t work?

kill 0 doesn"t work?

am 27.08.2008 09:03:59 von Octavian Rasnita

Hi,

I try to use kill(0, $pid) in order to test if the process with the PID=$pid
is running, but no matter what $pid I use, it always returns 1 like the
process would be running.

Isn't kill(0, $pid) working under Windows XP with ActivePerl build 820?
Is it working with a newer build?

I use that older version because it works fine with mod_perl.

Thank you.

Octavian

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: kill 0 doesn"t work?

am 27.08.2008 09:22:50 von Jan Dubois

On Wed, 27 Aug 2008, Octavian Rasnita wrote:
> Isn't kill(0, $pid) working under Windows XP with ActivePerl build
> 820? Is it working with a newer build?

Yes, it is broken in 820, fixed in 821.

Cheers,
-Jan

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs