jilles e87e084ab7 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
..
2011-05-13 16:29:57 +00:00
2013-03-15 20:12:54 +00:00
2012-02-22 03:36:15 +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
2011-02-04 16:40:50 +00:00
2013-03-15 20:12:54 +00:00
2013-04-26 17:56:35 +00:00
2010-02-15 14:07:40 +00:00
2013-03-15 20:12:54 +00:00
2012-07-15 21:12:22 +00:00
2010-09-13 01:29:51 +00:00