[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parent shell gets stopped when a child shell is created with job con
From: |
Eduardo A . Bustamante López |
Subject: |
Re: Parent shell gets stopped when a child shell is created with job control but not interactive (bash -mc) |
Date: |
Sun, 2 Mar 2014 16:45:24 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Mar 02, 2014 at 06:09:40PM -0500, Chet Ramey wrote:
> Thanks for the report. Pointing out the behavior difference between the
> first case (using -i) and the second (without) was the key. Here's a
> patch.
>
> Chet
Thanks! The patch fixes the issue:
address@hidden:~$ ~/local/bash-jobs-fix/bin/bash -s <<< 'for i in . .; do
(~/local/bash-jobs-fix/bin/bash -mc ": & wait") ; done'
[1]+ Done :
[1]+ Done :
address@hidden:~$ ~/local/bash-jobs-fix/bin/bash -s <<< 'for i in . .; do
(~/local/bash-jobs-fix/bin/bash -mic ": & wait") ; done'
[1] 26773
[1]+ Done :
[1] 26776
[1]+ Done :
--
Eduardo Alan Bustamante López