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