In article <[email protected]>,
=?ISO-8859-1?Q?Paul_K=F6lle?=  <[email protected]> wrote:
>
>If you don't use shell=True you have to provide the full path to 
>commands (and split command and parameters as you do). 

Are you sure?  Try this:

print Popen(['ls'], stdin=PIPE, stdout=PIPE).communicate()[0]
-- 
Aahz ([email protected])           <*>         http://www.pythoncraft.com/

"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur."  --Red Adair
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to