I have python code in a program that opens a cmd window and runs another program there. The code looks like this:
os.chdir('C:/Abaqus_JOBS' + JobDir) os.system('abaqus job=' + JobName + '-3_run_rel2 user=FalseworkNmm41s interactive')
Now everything works, but I get an error message in the cmd window, and then it closes very quickly, not allowing me to see what was the error. How can I prevent this cmd window from closing?
source share