pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errors on Solaris


From: John Darrington
Subject: Re: Errors on Solaris
Date: Fri, 30 May 2008 08:11:58 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, May 29, 2008 at 04:58:04PM -0700, Ben Pfaff wrote:
     If it comes down to that, it would be much better, in my opinion,
     to compile a small C program to do this, e.g.
     
     #include <signal.h>
     
     int main(void) 
     {
         kill(getppid(), SIGTERM);
     }


That would kill the wrong process. It would send a signal to the shell
from which the program is run; not the parent of that shell.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]