Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Mar 5, 2020
Messages
1
Location
DE
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

Back
Top