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.
--
https://mail.python.org/mailman/listinfo/python-list