Re: [dev] Holding st after a command has completed

From: Hadrien Lacour <hadrien.lacour_AT_posteo.net>
Date: Sun, 14 Apr 2019 10:42:19 +0200

On Sun, Apr 14, 2019 at 03:24:34AM +0300, Ivan "Rambius" Ivanov wrote:
> Hello,
>
> The st terminal has -e option that executes a specific command instead
> of the shell. However, st closes immediately after the command has
> completed. Is it possible to hold the st's window after the command
> has finished? That is similar to xterm's -hold command.
>
> Thank you for your responses in advance.
>
> Regards
> rambius
>
> --
> Tangra Mega Rock: http://www.radiotangra.com
>

The usual way of doing this is
    $ st -e sh -c 'ls; exec sh'
Received on Sun Apr 14 2019 - 10:42:19 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 14 2019 - 10:48:08 CEST