Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

subprocess.call Abaqus not working

Status
Not open for further replies.

Chris97

Computer
Mar 5, 2020
1
Hey guys, i am new here. I have a problem with the subprocess module.

My code looks like that:

import subprocess
subprocess.call('abaqus cae noGUI=Einheitszelle_Aufbau.py', shell=True)

It is supposed to run the script via Abaqus, but it says it cant find abaqus. so it gives me this error:
/bin/sh: 1: abaqus: not found.
I have already looked a lot in the internet, but have no idea what the problem is. If I just write abaqus cae noGUI=Einheitszelle_Aufbau.py in the command line it works fine.

Thanks for the help
Chris97
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor