Local commands are executed in a shell, so if the shell does not exec() the
commit30a2cf4e94b7b0362fb259523458b18572b1104e
authorGuillaume Chazarain <guichaz@gmail.com>
Fri, 12 Jun 2009 12:12:12 +0000 (12 14:12 +0200)
committerGuillaume Chazarain <guichaz@gmail.com>
Fri, 12 Jun 2009 12:12:12 +0000 (12 14:12 +0200)
treec47f4d84d5b702fddd41d58f57de82c23e80d9ed
parent0a119cb02e437850cc0ac75ce38abecfb0a4dae7
Local commands are executed in a shell, so if the shell does not exec() the
command, the latter may be killed but the shell won't. So, we use the shell
exit code to see if the command was killed.
gsh/stdin.py