bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Want way to run background processes with SIGINT unignored


From: Ian Jackson
Subject: Re: Want way to run background processes with SIGINT unignored
Date: Tue, 13 Oct 2015 15:58:44 +0100

Ian Jackson writes ("Re: Want way to run background processes with SIGINT 
unignored"):
> Chet Ramey writes ("Re: Want way to run background processes with SIGINT 
> unignored"):
> > This is the behavior that any new option would toggle.  Some name like
> > `async_sig_ignore' or `async_sig_restore' would work.
> 
> Thanks for your attention and your feedback; I'll get back to you with
> a patch.

This patch is nearly ready and I will send it shortly.


While I was working on the docs aspect I noticed an infelicity in the
documentation.  It generally talk about the signal disposition that
the shell `inherits from its parent'.  For example:

  traps caught by the shell are reset to the values inherited from the
  shell's parent, and traps ignored by the shell are ignored

But this is misleading.  The values that the signals are reset to are
those which the parent inherited _at shell invocation_ (ie, at exec).
If the shell is a subshell (produced with `( )' perhaps), it may have
inherited different settings from its _parent_ (ie, the main shell).

I think this wording should be changed throughout to read `inherited
at shell invocation'.  Do you agree ?  Would you welcome a patch along
those lines ?


Thanks,
Ian.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]