Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question