Hello,
This is what I want to accomplish:
A main.py file runs several other scripts one after another.
This command is used to run the the child scripts:
execCommand = viz._BIN_PRIMARY + ' "' + filename + '" 0'
win32process.CreateProcess(None, execCommand,None, None, 1, 0, None,None, win32process.STARTUPINFO())
Now as you might have guessed, the problem is that all the
child scripts are run at the same time. and i want them to go one after another.
Now my question is, is it possible to run a child script, then wait till that process is over and then continue the main script?
greets & thanks in advance,
Kevin
This is what I want to accomplish:
A main.py file runs several other scripts one after another.
This command is used to run the the child scripts:
execCommand = viz._BIN_PRIMARY + ' "' + filename + '" 0'
win32process.CreateProcess(None, execCommand,None, None, 1, 0, None,None, win32process.STARTUPINFO())
Now as you might have guessed, the problem is that all the
child scripts are run at the same time. and i want them to go one after another.
Now my question is, is it possible to run a child script, then wait till that process is over and then continue the main script?
greets & thanks in advance,
Kevin