I have code in python which sets an environment variable and an alias to another code. E.g. when I run 'install.py' I get the environment variable and alias to a code named pyfem.py. I can use these and run the command pyfem (filename).pro perfectly through the terminal to execute the program.
But when I use Eric, I am unable to run the program even after setting the environment variable in the run script dialog box. I have not found a way to set the alias to pyfem. So I feel that might be the problem.
Can someone please let me know how to set an alias through Eric? I have Ubuntu 14.04.
This is Python 2.7 code and both python programs in the same directory.
call_script.py
other.py (must be marked executable - i.e.: chmod +x other.py)
outputs: