Using wildcards with Popen in the Subprocess module
wbhk at unm.edu
Thu Mar 15 22:46:12 CET 2007
Thanks for responding. I need to pass multiple filenames to an
executable. The filenames are similar to one another, but differ only
slightly, hence the use of the wildcard. The executable works well from
the command line if I pass in a wildcard filename, but Popen can't
expand the wildcard.
>From command line:
% command /path_to_files/filename*.doc
Thanks, I will look into the os.system route.
More information about the Python-list