subprocess.Popen under windows 7
Ulrich Eckhardt
ulrich.eckhardt at dominolaser.com
Fri Dec 9 03:32:00 EST 2011
Am 08.12.2011 23:41, schrieb Frank van den Boom:
> arglist = [PATH_TO_7ZIP,"a", "-sfx", archive_name, "*", "-r",
> "-p",PASSWORD]
The "*" is resolved by the shell, this is not a wildcard that gets
passed to the program. At least not normally, your case might be different.
> if output:
> print output
>
> print ("Eyerthing is good")
Is that Python 2 or 3?
That said, if you reduced it to something that doesn't e.g. require 7zip
I'd happily run it on an XP system with Python 2.7 to tell you if it
works there or not. Doing so would also rule out any influence by 7zip,
just in case.
Uli
More information about the Python-list
mailing list