Skip Montanaro <[EMAIL PROTECTED]> added the comment: 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 ---------- nosy: +skip.montanaro resolution: -> works for me status: open -> closed __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2438> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com