[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the
From: |
Paul Eggert |
Subject: |
Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself |
Date: |
Mon, 12 Sep 2011 07:50:25 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 |
On 09/12/11 05:01, Stefano Lattarini wrote:
> I'd like to know if anyone has an idea of
> what's going on exactly, and how (and if) I can work around it.
I'd guess it's tail recursion elimination: if the last thing
a Korn shell does is run another program, it bypasses the
fork and does an exec directly.
Also, I'd guess that POSIX allows this behavior.
Even if POSIX doesn't allow it, it's a nice optimization,
and should be encouraged rather than being thought of as
a bug.
- On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Stefano Lattarini, 2011/09/12
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself,
Paul Eggert <=
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Stefano Lattarini, 2011/09/12
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Paul Eggert, 2011/09/12
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Stefano Lattarini, 2011/09/12
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Paul Eggert, 2011/09/12
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Stefano Lattarini, 2011/09/12
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Paul Eggert, 2011/09/12
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Stefano Lattarini, 2011/09/12
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Stefano Lattarini, 2011/09/12
- Re: On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself, Stefano Lattarini, 2011/09/12