My first real request for help
xDog Walker
thudfoo at gmail.com
Tue Nov 19 12:07:31 EST 2013
On Tuesday 2013 November 19 08:19, Gene Heskett wrote:
> You are suggesting I edit /usr/lib/python2.6/subprocess.py?
You should use either
subprocess.Popen(["ls", "-l"])
or
subprocess.Popen("ls -l")
The argument to the first is a two element list.
The argument to the second is a string.
You used "ls -l" as the process to run, thus
" OSError: [Errno 2] No such file or directory"
See the subprocess documentation.
--
Yonder nor sorghum stenches shut ladle gulls stopper torque wet
strainers.
More information about the Python-list
mailing list