Jilles Tjoelker efd1946c35 sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&'.
If job control is not enabled, background jobs started with  ... &  ignore
SIGINT and SIGQUIT so that they are not affected by such signals that are
intended for the foreground job. However, this should not prevent
reassigning a different action for these signals (as if the shell invocation
inherited these signal actions from its parent).

Austin group issue #751

Example:
  { trap - INT; exec sleep 10; } & wait
A Ctrl+C should terminate the sleep command.
2013-10-30 21:36:15 +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-10-01 18:41:53 +00:00
2013-10-28 23:02:12 +00:00
2013-06-29 15:49:26 +00:00
2013-10-11 20:10:18 +00:00
2013-04-28 22:52:43 +00:00
2013-06-02 17:55:00 +00:00
2013-04-27 21:59:43 +00:00
2013-10-21 09:12:04 +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