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
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