subprocess module: execution of standard binaries without shell?
visco31 at gmail.com
Thu Feb 26 05:41:51 EST 2009
while getting used to with subprocess module i failed in executuing a)
but succeeded in running b). Can anyone explain me why as i am providing
absolute path? Is this has to do anything with shared library.. which
must be accessed based on system variables?
a) pipe = subprocess.Popen("/bin/ls /", stdout=subprocess.PIPE,
==>OSError: [Errno 2] No such file or directory
b) pipe = subprocess.Popen("/bin/ls /", stdout=subprocess.PIPE,
Thanks & Regards
More information about the Python-list