bug-bash
[Top][All Lists]
Advanced

[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:

dualbus@debian:~$ ~/local/bash-jobs-fix/bin/bash -s <<< 'for i in . .; do 
(~/local/bash-jobs-fix/bin/bash -mc ": & wait") ; done'
[1]+  Done                    :
[1]+  Done                    :
dualbus@debian:~$ ~/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



reply via email to

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