0
I have lots of servers written in Python
. I want to run them, one script per one terminal tab. I'm using Xubuntu 16.04
.
I know how to open the terminal tab in Xubuntu inside the bash script:
#!/bin/bash
xfce4-terminal --tab
Also, I know how to run python script in bash script:
#!/bin/bash
python server_1.py
But how can I open a new tab, and run the script in this new, opened tab?
I have weird errors when trying the
--working-directory=directory
(terminal has closed immediately) but the-x
option works. Thank you for help. – mirx – 2017-03-31T10:34:49.277