On Fri, Jul 18, 2003 at 04:07:51PM +0200, David Kaasen wrote:
> Hello!
> 
> On Fri, 18 Jul 2003, Chris Green wrote:
> 
> > I would like to start up an rxvt window which executes a command and
> > the *doesn't* exit afterwards.  I can't find any way to do this.
> ...
> > I can't get something like 'rxvt -e ls | more &' to work because (I
> > think) the command line just doesn't get parsed right for this to
> > work.  'rxvt -e "ls | more &"' is no better.  Both are very difficult
> > to diagnose because the window pops up and then disappears almost
> > instantly.
> 
> What about letting rxvt use a shell to run the command with the pipe,
> like 'rxvt -e bash -c "ls | more"'?
> 
That works but only as long as the output of the ls (or whatever) is
more than a screenful so more waits for input.

It's a pity you can't tell bash/ksh/csh/whatever the run a command
(like -c) but then not to exit afterwards, that's what I really want.

-- 
Chris Green ([EMAIL PROTECTED])

Reply via email to