P
P
Peter Pitaev2021-02-24 12:05:34
linux
Peter Pitaev, 2021-02-24 12:05:34

Gnome-terminal, opening script in new tabs without closing them after command ends?

Greetings!
I have more than one folder with python scripts, I need to run them all in new tabs with one command.
This is what I figured out:

for i in {1..3}; do cd; cd test/test-$i; gnome-terminal --tab --command "python3 t.py"; done


But there is a problem, after executing commands or an error occurs, the tabs are closed.
How to make it so that the functionality of the code above is preserved, but the tabs are not closed?

Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SOTVM, 2021-02-24
@XXocTT

in terminal settings

603618cbbad12885491691.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question