Hello,
I want to create application which launches some terminal, then some command is executed on that terminal and then prevent terminal from closing.
I started to do on gnome-terminal because the Gnome is the most widely used desktop-manager in the Linux distributions.
I want to do something like that:
gnome-terminal --sync -x tcsh -c "cd xys; command ;" &
In konsole there is a --noclose option preventing the terminal from closing after the command execution.
I can do it like that:
gnome-terminal --sync -x tcsh -c "cd xys; command xxx ; exec tcsh; " &
But then I lose the certain settings which I loaded in the terminal during the command xxx execution.
Do you know how to prevent gnome-terminal from closing after the command execution?