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
Post a Comment