Calling python script in dos and passing arguments

Tim Roberts timr at probo.com
Wed Apr 17 01:32:01 EDT 2013


Chris Rebert <clp2 at rebertia.com> wrote:
>
>2. Glob/wildcard ("*") expansion is done by the shell, but
>subprocess.Popen does not use the shell by default (for good reason!).

This is only true in Linux.  In Windows, the wildcard characters are passed
to the program, so each app must do its own glob expansion.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list