i'm trying to write a python script which can execute two commands
sudo docker run --network=host --volume /home/villas/results:/villas/build/results --volume /home/villas/Docker-containers/webrtc-rtt.conf:/config.conf --privileged registry.git.rwth-aachen.de/acs/public/villas/node:master node /config.conf and
sudo docker run --network=host --volume /home/villas/results:/villas/build/results --volume /home/villas/Docker-containers/webrtc-loopback.conf:/config.conf --privileged registry.git.rwth-aachen.de/acs/public/villas/node:master node /config.conf in two different terminals at the same time. So what the script needs to do is, execute the first command in one terminal, and then create a new parallel terminal and the second command will be execute in second terminal.
To create a split terminal manually, I have to press ctrl+shift+5 But instead I want let my python script to do this job. Is there any way to code this into the python script?
xdotool&c), but using them is a smell