Open new tab and run sh script

LXTerminal is the standard terminal emulator of LXDE - http://wiki.lxde.org/en/LXTerminal
Post Reply
krok
Posts: 1
Joined: Fri Apr 16, 2021 8:04 am

Open new tab and run sh script

Post by krok »

How to open a new Tab inside the same lxterminal and run .sh script in that new Tab?

If I call

Code: Select all

 lxterminal --tabs=1,2 -e ./script.sh
it will open a new lxterminal with tab and runs the script there, but I want to open only a new Tab in current lxterminal and run it there.

Something like this:

Code: Select all

this lxterminal --tab --title="newTabName" -e "./script.sh"
Thank you.

drooly
Posts: 730
Joined: Mon Apr 08, 2013 6:45 am

Re: Open new tab and run sh script

Post by drooly »

I don't think this is possible with lxterminal.

Post Reply