Jilles Tjoelker fd7d6d8a29 sh: Do not read from stdin if an error occurs during -i -c cmd.
Although using -i with -c does not seem very useful, it seems inappropriate
to read commands from the terminal in this case.

Side effect: if the -s -c extension is used and the -s option is turned off
using 'set +s' during the interactive part, the shell now exits after an
error or interrupt. Note that POSIX only specifies -s as option to sh, not
to set.

See also Austin Group issue #718.
2013-07-12 15:29:41 +00:00
..
2013-03-15 20:12:54 +00:00
2013-05-10 18:43:36 +00:00
2013-05-17 03:52:20 +00:00
2013-06-29 15:49:26 +00:00
2013-04-28 22:52:43 +00:00
2013-06-02 17:55:00 +00:00
2013-03-15 20:12:54 +00:00
2013-04-27 21:59:43 +00:00
2013-03-15 20:12:54 +00:00
2013-04-26 17:56:35 +00:00
2013-03-15 20:12:54 +00:00