Works on my mac too. Please commit that plus the change to RunSafely.sh you sent earlier. Thanks!<br><br><div class="gmail_quote">2010/1/15 Török Edwin <span dir="ltr"><<a href="mailto:edwintorok@gmail.com">edwintorok@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On 2010-01-15 17:53, Rafael Espindola wrote:<br>
>> No, because 0 is not a signal name ;)<br>
>><br>
>> Should be something like this (haven't tested though):<br>
>><br>
>> -        kill -s INFO $PARENT 2>/dev/null<br>
>> +        kill -0 $PARENT 2>/dev/null<br>
>><br>
>> I am using kill -0 in other scripts though, and it works fine.<br>
>><br>
><br>
> Sure. So, is it ok?<br>
><br>
><br>
<br>
</div>Yes.<br>
<div class="im"><br>
> I tested kill -0 on linux and it does return 0 if the process exists<br>
> and 1 if it doesn't which is all that we need.<br>
><br>
<br>
</div>Yes, I just double-checked and it also works on Solaris.<br>
<br>
Best regards,<br>
<font color="#888888">--Edwin<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br>