[llvm-commits] [patch] Used TimedExec.sh everywhere
Rafael Espindola
espindola at google.com
Fri Jan 15 07:53:34 PST 2010
> No, because 0 is not a signal name ;)
>
> Should be something like this (haven't tested though):
>
> - kill -s INFO $PARENT 2>/dev/null
> + kill -0 $PARENT 2>/dev/null
>
> I am using kill -0 in other scripts though, and it works fine.
Sure. So, is it ok?
I tested kill -0 on linux and it does return 0 if the process exists
and 1 if it doesn't which is all that we need.
> Best regards,
> --Edwin
Cheers,
--
Rafael Ávila de Espíndola
More information about the llvm-commits
mailing list