Re: Procsub.tests on OSes using named pipes

2020-02-26 Thread CHIGOT, CLEMENT
Hi all,  I might have found a way to avoid unkilled subprocesses when they are stuck in the open syscall. When the parent shell is killed, we can force it to open and close all the named pipes that it still have. It might be a bit harsh, but at least there is no unkilled processes anymore.

Re: bash 5.0.11 – Output not redirected

2020-02-26 Thread Ricky Tigg
Hey. Goal: scheduling tasks along with visual output in terminal. I concieved it could be achieved under Linux. I had defined a use-case for that purpose.. $ at -q c now + 1 minute warning: commands will be executed using /bin/sh at> dnf check-update --security | gnome-terminal at> job 24 at Thu

Re: bash 5.0.11 – Output not redirected

2020-02-26 Thread Greg Wooledge
On Wed, Feb 26, 2020 at 11:59:09AM -0500, Eli Schwartz wrote: > On 2/26/20 10:48 AM, Greg Wooledge wrote: > > If you're trying to pre-populate the input buffer of a shell in a newly > > launched terminal emulator, you're about to go down some very deep > > rabbit holes. I suggest you look at tmux

Re: bash 5.0.11 – Output not redirected

2020-02-26 Thread Eli Schwartz
On 2/26/20 10:48 AM, Greg Wooledge wrote: > If you're trying to pre-populate the input buffer of a shell in a newly > launched terminal emulator, you're about to go down some very deep > rabbit holes. I suggest you look at tmux or screen. Those may have > some of the features you're looking for,

Re: bash 5.0.11 – Output not redirected

2020-02-26 Thread Greg Wooledge
On Wed, Feb 26, 2020 at 05:39:22PM +0200, Ricky Tigg wrote: > Tested on *Gnome*; Component: bash.x86_64 5.0.11 > > Used Shell; > $ echo $SHELL > /bin/bash > > Following command opens the queried graphical terminal emulator; > $ echo q | gnome-terminal > > Result in opened terminal: >

Re: bash 5.0.11 – Output not redirected

2020-02-26 Thread Eli Schwartz
On 2/26/20 10:39 AM, Ricky Tigg wrote: > Tested on *Gnome*; Component: bash.x86_64 5.0.11 > > Used Shell; > $ echo $SHELL > /bin/bash > > Following command opens the queried graphical terminal emulator; > $ echo q | gnome-terminal > > Result in opened terminal: > [yk@localhost ~]$ > >

bash 5.0.11 – Output not redirected

2020-02-26 Thread Ricky Tigg
Tested on *Gnome*; Component: bash.x86_64 5.0.11 Used Shell; $ echo $SHELL /bin/bash Following command opens the queried graphical terminal emulator; $ echo q | gnome-terminal Result in opened terminal: [yk@localhost ~]$ Redirected output is thus not present as input there.