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.
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
