I'd like to run a script (scriptA
) that will execute another script (scriptB
) in another window while scriptA
is still running.
I tried:
subprocess.Popen(['python', 'scriptB.py'])
but it runs scriptB
in the scriptA
's window.
Could someone help me?
EDIT : As pointed out in the commentary, the flag creationflags = subprocess.CREATE_NEW_CONSOLE found by emiguel ( How can I spawn new shells to run python scripts from a base python script? ) works perfectly.
Thanks :)