Author skip.montanaro
Recipients pbrandt, skip.montanaro
Date 2008-03-21.01:10:52
SpamBayes Score 0.130639
Marked as misclassified No
Message-id <1206061855.95.0.918332923744.issue2438@psf.upfronthosting.co.za>
In-reply-to
Content
The default for Popen objects is to not use the shell, thus
no expansion.  Set shell=True in the Popen call:

>>> import subprocess
>>> output = subprocess.Popen(['ls', '*'])
>>> ls: *: No such file or directory

>>> output = subprocess.Popen(['ls', '*'], shell=True)
>>> configure.out	svn-stat.out	svn-update.out

Skip
History
Date User Action Args
2008-03-21 01:10:56skip.montanarosetspambayes_score: 0.130639 -> 0.130639
recipients: + skip.montanaro, pbrandt
2008-03-21 01:10:55skip.montanarosetspambayes_score: 0.130639 -> 0.130639
messageid: <1206061855.95.0.918332923744.issue2438@psf.upfronthosting.co.za>
2008-03-21 01:10:54skip.montanarolinkissue2438 messages
2008-03-21 01:10:53skip.montanarocreate