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-27 20:53:07 +00:00
2013-06-28 21:47:08 +00:00
2013-04-01 17:18:22 +00:00
2013-04-01 17:18:22 +00:00
2013-04-01 17:18:22 +00:00
2012-07-15 10:49:16 +00:00
2012-01-01 22:17:12 +00:00
2013-04-07 16:28:36 +00:00
2011-06-18 23:43:28 +00:00
2013-04-01 17:18:22 +00:00
2013-04-01 17:18:22 +00:00
2009-12-24 18:41:14 +00:00
2013-04-01 17:18:22 +00:00
2013-05-09 21:29:16 +00:00
2012-02-04 23:12:14 +00:00