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-27 20:53:07 +00:00
2013-04-01 17:18:22 +00:00
2013-07-25 19:48:15 +00:00
2013-07-25 15:08:41 +00:00
2012-01-01 22:17:12 +00:00
2013-07-25 15:08:41 +00:00
2013-04-07 16:28:36 +00:00
2011-06-18 23:43:28 +00:00
2013-08-30 20:50:28 +00:00
2013-07-25 19:48:15 +00:00
2009-12-24 18:41:14 +00:00
2013-07-25 15:08:41 +00:00
2012-02-04 23:12:14 +00:00