Re: background, pipeline, hang

2019-07-15 Thread Mike Jonkmans
On Mon, Jul 15, 2019 at 10:01:30AM -0400, Chet Ramey wrote: > On 7/13/19 5:55 AM, Mike Jonkmans wrote: > > This runs for two seconds: > > bash --norc --noprofile -ic "trap 'tput hs' DEBUG; sleep 2 & :|:|:" > > I can't reproduce this using bash-5.0.7 on RHEL7, Debian 9, Ubuntu 16, or > Ubuntu 1

Re: background, pipeline, hang

2019-07-15 Thread Chet Ramey
On 7/13/19 5:55 AM, Mike Jonkmans wrote: > Thanks for looking, though. > > With the tip of Greg Wooledge (use --norc --noprofile), > from another post, i was able to research this further. > > > This runs for two seconds: > bash --norc --noprofile -ic "trap 'tput hs' DEBUG; sleep 2 & :|:|

Re: background, pipeline, hang

2019-07-14 Thread Chet Ramey
On 7/13/19 5:55 AM, Mike Jonkmans wrote: > This runs for two seconds: > bash --norc --noprofile -ic "trap 'tput hs' DEBUG; sleep 2 & :|:|:" > > While this immediately finishes: > bash --norc --noprofile -ic "trap ':' DEBUG; sleep 2 & :|:|:" I believe this has to do with running a pro

Re: background, pipeline, hang

2019-07-13 Thread Mike Jonkmans
On Fri, Jul 12, 2019 at 02:26:52PM -0400, Chet Ramey wrote: > Date: Fri, 12 Jul 2019 14:26:52 -0400 > From: Chet Ramey > To: Mike Jonkmans , bug-bash@gnu.org, > b...@packages.debian.org > Cc: chet.ra...@case.edu > Subject: Re: background, pipeline, hang > Reply-To: chet.ra.

Re: background, pipeline, hang

2019-07-13 Thread Mike Jonkmans
On Fri, Jul 12, 2019 at 10:14:19AM -0400, Greg Wooledge wrote: > Date: Fri, 12 Jul 2019 10:14:19 -0400 > From: Greg Wooledge > To: Mike Jonkmans > Cc: bug-bash@gnu.org, b...@packages.debian.org > Subject: Re: background, pipeline, hang > > On Fri, Jul 12, 2019 at 04:00:57PM

Re: background, pipeline, hang

2019-07-12 Thread Chet Ramey
On 7/12/19 10:00 AM, Mike Jonkmans wrote: > Bash Version: 4.4 > Patch Level: 20 > Release Status: release > > Description: > A pipeline, with two or more pipes, hangs when a background job is > running. > Only when the background job finishes, the shell prompts again. > Without

Re: background, pipeline, hang

2019-07-12 Thread Greg Wooledge
On Fri, Jul 12, 2019 at 04:00:57PM +0200, Mike Jonkmans wrote: > uname output: Linux sint 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 > UTC 2019 x86_64 x86_64 x86_64 GNU/Linux (Why are you reporting problems on an Ubuntu system on a debian.org mailing list?) > Repeat-By: > : | : |

background, pipeline, hang

2019-07-12 Thread Mike Jonkmans
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA