Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29342
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'interpreter': 0.04; 'binary': 0.05; 'python': 0.09; '"run': 0.09; 'etc).': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'script,': 0.09; 'sep': 0.09; 'file,': 0.15; 'executable,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'shell"': 0.16; 'saying': 0.18; 'command': 0.24; 'allows': 0.25; '(e.g.': 0.27; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; '+0100,': 0.29; 'directly,': 0.29; 'file': 0.32; 'url:home': 0.33; 'to:addr:python-list': 0.33; "won't": 0.35; 'received:org': 0.36; 'subject:with': 0.36; 'charset:us-ascii': 0.36; 'rather': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'subject:Moving': 0.84; 'subject:content': 0.84; 'dennis': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: Moving folders with content |
| Date | Sun, 16 Sep 2012 14:53:02 -0400 |
| Organization | > Bestiaria Support Staff < |
| References | <mailman.785.1347782537.27098.python-list@python.org> <5055ac92$0$6940$e4fe514c@news2.news.xs4all.nl> <pan.2012.09.16.14.31.11.382000@nowhere.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | adsl-76-249-21-126.dsl.klmzmi.sbcglobal.net |
| X-Newsreader | Forte Agent 3.3/32.846 |
| X-No-Archive | YES |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.809.1347821593.27098.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1347821593 news.xs4all.nl 6873 [2001:888:2000:d::a6]:54447 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:29342 |
Show key headers only | View raw
On Sun, 16 Sep 2012 15:31:07 +0100, Nobody <nobody@nowhere.com>
declaimed the following in gmane.comp.python.general:
> difference is that shell=False requires the "executable" to actually be a
> binary executable, while shell=True allows it to be some other type of
> file (e.g. a batch file, Python script, etc).
While it is true that "programs" that require an interpreter to be
present won't run directly, the main difference is that "shell=True"
allows for use of the built-ins -- commands like DIR, COPY, DEL...
One can always preface the others with the interpreter program name
(granted, in the case of "BAT" files, that interpreter IS the command
shell, so it if rather perverse to say "run this file in this shell"
while saying "don't use a shell" <G>).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
RE: Moving folders with content <jyoung79@kc.rr.com> - 2012-09-16 08:02 +0000
Re: Moving folders with content Hans Mulder <hansmu@xs4all.nl> - 2012-09-16 12:40 +0200
Re: Moving folders with content Nobody <nobody@nowhere.com> - 2012-09-16 15:31 +0100
Re: Moving folders with content Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-16 14:53 -0400
Re: Moving folders with content Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-16 16:53 -0400
csiph-web