Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

Add + " & timeout 15" or + " & pause" to the string you pass to os.system:

os.chdir('C:/Abaqus_JOBS' + JobDir) os.system('abaqus job=' + JobName + '-3_run_rel2 user=FalseworkNmm41s interactive' + " & timeout 15") 

consider using popen (Difference between subprocess.Popen and os.systemDifference between subprocess.Popen and os.system) instead.

Add + " & timeout 15" or + " & pause" to the string you pass to os.system:

os.chdir('C:/Abaqus_JOBS' + JobDir) os.system('abaqus job=' + JobName + '-3_run_rel2 user=FalseworkNmm41s interactive' + " & timeout 15") 

consider using popen (Difference between subprocess.Popen and os.system) instead.

Add + " & timeout 15" or + " & pause" to the string you pass to os.system:

os.chdir('C:/Abaqus_JOBS' + JobDir) os.system('abaqus job=' + JobName + '-3_run_rel2 user=FalseworkNmm41s interactive' + " & timeout 15") 

consider using popen (Difference between subprocess.Popen and os.system) instead.

added 27 characters in body
Source Link
0x90
  • 41.4k
  • 41
  • 179
  • 263

Add + " & timeout 15" or + " & pause" to the string you pass to os.system:

os.chdir('C:/Abaqus_JOBS' + JobDir) os.system('abaqus job=' + JobName + '-3_run_rel2 user=FalseworkNmm41s interactive' + " & timeout 15") 

consider using popen (Difference between subprocess.Popen and os.system) instead.

Add + " & timeout 15" to the string you pass to os.system:

os.chdir('C:/Abaqus_JOBS' + JobDir) os.system('abaqus job=' + JobName + '-3_run_rel2 user=FalseworkNmm41s interactive' + " & timeout 15") 

consider using popen (Difference between subprocess.Popen and os.system)

Add + " & timeout 15" or + " & pause" to the string you pass to os.system:

os.chdir('C:/Abaqus_JOBS' + JobDir) os.system('abaqus job=' + JobName + '-3_run_rel2 user=FalseworkNmm41s interactive' + " & timeout 15") 

consider using popen (Difference between subprocess.Popen and os.system) instead.

Source Link
0x90
  • 41.4k
  • 41
  • 179
  • 263

Add + " & timeout 15" to the string you pass to os.system:

os.chdir('C:/Abaqus_JOBS' + JobDir) os.system('abaqus job=' + JobName + '-3_run_rel2 user=FalseworkNmm41s interactive' + " & timeout 15") 

consider using popen (Difference between subprocess.Popen and os.system)