Re: bash sends SIGHUP to disowned children in non-interactive mode

2011-12-29 Thread Chet Ramey
On 12/28/11 5:57 PM, Philip wrote: > So without job control bash might (I know, we don't know for sure) > send the SIGHUP to all processes started in the shell, whether child > by definition or not? No, it doesn't. > Shouldn't the -i flag enable job control by the way? Yes, and it does. The pr

Re: bug in force_interactive handling

2011-12-29 Thread Chet Ramey
On 12/28/11 4:42 AM, Stas Sergeev wrote: >>> But, -i sets "interactive_shell" variable, not "interactive", so the >>> aforementioned comment and code makes no sense, though it >>> might have been working in the past. >> `-i' sets the `forced_interactive' variable; look at flags.c. The shell >> se