[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Errors on Solaris
From: |
Ben Pfaff |
Subject: |
Re: Errors on Solaris |
Date: |
Thu, 29 May 2008 21:20:01 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
John Darrington <address@hidden> writes:
> 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.
If invoked in the most ordinary way, yes, but you could use the
shell "exec" command to replace the shell by the C program.
--
Ben Pfaff
http://benpfaff.org
- Errors on Solaris [was Re: pspp-0.6.0-pre3 released], (continued)
- Errors on Solaris [was Re: pspp-0.6.0-pre3 released], John Darrington, 2008/05/18
- Re: Errors on Solaris, Ben Pfaff, 2008/05/20
- Re: Errors on Solaris, John Darrington, 2008/05/21
- Re: Errors on Solaris, Jason Stover, 2008/05/22
- Re: Errors on Solaris, John Darrington, 2008/05/26
- Re: Errors on Solaris, John Darrington, 2008/05/29
- Re: Errors on Solaris, Ben Pfaff, 2008/05/29
- Re: Errors on Solaris, John Darrington, 2008/05/29
- Re: Errors on Solaris, Ben Pfaff, 2008/05/29
- Re: Errors on Solaris, John Darrington, 2008/05/29
- Re: Errors on Solaris,
Ben Pfaff <=
- Re: Errors on Solaris, Jason Stover, 2008/05/29
- Re: Errors on Solaris, John Darrington, 2008/05/29
- Re: Errors on Solaris, Jason Stover, 2008/05/29
- Re: Errors on Solaris, Jason Stover, 2008/05/30
- Re: Errors on Solaris, John Darrington, 2008/05/30
- Re: Errors on Solaris, Jason Stover, 2008/05/31
- Re: Errors on Solaris, John Darrington, 2008/05/31
Re: pspp-0.6.0-pre3 released, John Darrington, 2008/05/14