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