[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash 5.0.11 – Output not redirected

From: Greg Wooledge
Subject: Re: bash 5.0.11 – Output not redirected
Date: Wed, 26 Feb 2020 12:01:46 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

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 or screen.  Those may have
> > some of the features you're looking for, if my guess is on target.
> A simpler solution if you (rhet.) just want to run a command
> automatically in gnome-terminal and then wait for more commands, is,
> instead of starting "bash" (or $SHELL) by default, specify that
> gnome-terminal should run the command:
> bash --rcfile <(cat ~/.bashrc; echo "some_commands")

It would be *superb* if the OP would tell us what the actual goal is.

reply via email to

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