Running multiple commands from multiple terminal windows from python script

Viewed 2157

I have a problem where I need to write a python script, which basically opens one terminal windows and starts a node js server in it, then opens another terminal windows and starts a java program in it.

If I run two subprocess.call() functions they operate in the same terminal window.

Is there a way I can do this?

Thanks.:)

1 Answers
Related