2 improved as a question
| link

Using How to use Python to start up multiple programs simultaneously?

1
source | link

Using Python to start up multiple programs simultaneously

I am attempting to write a python script that with remove some of the tedium of my everyday actions. Specifically, I always need to run Eclipse, Java VisualVM, and a docker container.

I had planned on importing the os module and just executing a few os.system commands to get everything running:

# set_up.py
# Starts up Eclipse, Java VisualVM, and the docker file s3_dynamodb.yml

import os

os.system("./workspace/eclipse/eclipse")

os.system("./../../usr/bin/jvisualvm")

os.system("docker-compose -f s3_dynamodb.yml up")

I am running into issues where the terminal starts to run eclipse and will not continue with the program until the eclipse instance is terminated. Then it moves on to VisualVM and waits until that is closed, etc. I was wondering if there was a way to execute all three of these commands (well at least eclipse and visualVM) as if I clicked on the icon?