sh: test: argument expected and os.environ II
cabria at fta.uva.es
Tue Nov 9 19:23:57 CET 2004
I have checked that the shell is the bash shell by running again
the script with a print statement. The first four lines are:
os.environ['SHELL'] = "/bin/bash"
I have also read in Internet, in the following message about a
that the functions that execute a shell command will always invoke the Bourne
The message error 'sh: test: argument expected' comes from the sentence:
energy = atoms.GetPotentialEnergy()
in the python script I am running. Could be that this sentence is always
invoking somehow the Bourne shell?
More information about the Python-list