Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:timgolden.me.uk': 0.09; 'from:name:tim golden': 0.09; 'message-id:@timgolden.me.uk': 0.09; 'normally,': 0.09; 'subject:windows': 0.09; '"*"': 0.16; '"...': 0.16; 'eckhardt': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'subject:skip:s 10': 0.18; 'cc:no real name:2**0': 0.20; "doesn't": 0.22; 'header :In-Reply-To:1': 0.22; 'cc:2**0': 0.24; 'shell': 0.24; 'windows': 0.26; 'skip:[ 10': 0.27; 'asking': 0.28; 'van': 0.28; 'cc:addr:python.org': 0.29; 'tjg': 0.30; 'least': 0.30; 'header :User-Agent:1': 0.33; 'skip:" 10': 0.37; 'passed': 0.37; 'received:192': 0.37; 'might': 0.40; 'received:192.168': 0.40; 'your': 0.61; 'frank': 0.64; 'from:addr:mail': 0.64; 'different.': 0.84; 'wildcard': 0.84; 'to:none': 0.93 Date: Fri, 09 Dec 2011 09:28:07 +0000 From: Tim Golden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 CC: python-list@python.org Subject: Re: subprocess.Popen under windows 7 References: <1lt8r8-rel.ln1@satorlaser.homedns.org> In-Reply-To: <1lt8r8-rel.ln1@satorlaser.homedns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323422892 news.xs4all.nl 6943 [2001:888:2000:d::a6]:39021 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16901 On 09/12/2011 08:32, Ulrich Eckhardt wrote: > 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. "... not normally" == "... not on Unix". On Windows, the shell doesn't do any wildcard expansion. The OP is asking about behaviour on Windows 7. TJG