I
Iván Cabria
Hi,
I have run the script using "python scriptname.py" and the error does
not go away. I got the same error:
sh: test: argument expected
I have checked again that the first line of the python script is
#!/usr/bin/env python
There are no blank lines or empty spaces before
#!/usr/bin/env python
I also did "grep loginname /etc/passwd" to confirm I was using bash, and the
line I got ended with
:/usr/bin/bash
Iván
I have run the script using "python scriptname.py" and the error does
not go away. I got the same error:
sh: test: argument expected
I have checked again that the first line of the python script is
#!/usr/bin/env python
There are no blank lines or empty spaces before
#!/usr/bin/env python
I also did "grep loginname /etc/passwd" to confirm I was using bash, and the
line I got ended with
:/usr/bin/bash
Iván