python - Run two parallel cmd from single batch file ? -


i want run 2 python files batch file in parallel want each 1 executed in separate cmd because take time finish , want them run in parallel there away ?

start runs script in new shell.

start "" script1.py script2.py 

runs them in parallel, note there no (easy) way resynchronize, ie. wait in calling batch script1.py complete.

(the empty quotes after start optional window title argument start, if omit them , enclose script path in quotes because contains spaces, start take erroneously window title)


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -