On Fri, 18 Jul 2003, Chris Green wrote:

> A command like 'rxvt -e ls &' pops up, runs the ls and then exits
> immediately, I want it to stay (OK, so I don't want to run ls like
> this but it illustrates the problem).

Try:

  rxvt -e sh -c "ls && sleep 15"

Notice that the -c switch then is a sh(1) argument.

> The ultimate reason for wanting this is to be able to pop up a command
> line file viewer as a Mozilla/Netscape helper application.

Whatever program you run, have it do the delay (like "rxvt -e cat").


   Jeremy C. Reed
   http://www.reedmedia.net/

Reply via email to