[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On solaris, a SIGINT sent to a child process of Korn Shell kills the she
From: |
Stefano Lattarini |
Subject: |
On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself |
Date: |
Mon, 12 Sep 2011 14:01:43 +0200 |
User-agent: |
KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) |
On Solaris 10, I'm observing this:
$ cmd="perl -e 'kill 2, \$\$; exit 0'; echo alive"
$ bash -c "$cmd"; echo $?
alive
0
$ dash -c "$cmd"; echo $?
alive
0
$ /bin/sh -c "$cmd"; echo $?
alive
0
$ /bin/ksh -c "$cmd"; echo $?
130
$ /usr/xpg4/bin/sh -c "$cmd"; echo $?
130
I think this horrible behaviour defintely warrants a mention in the
autoconf manual; I will post a patch in few days if no-one beats me.
Apart from that, the behaviour is causing spurious failures in the
Automake testsuite, so 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.
Thanks,
Stefano
- On solaris, a SIGINT sent to a child process of Korn Shell kills the shell itself,
Stefano Lattarini <=
- 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, 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