[issue13195] subprocess: args with shell=True is not documented on Windows

2015-10-18 Thread Martin Panter

Martin Panter added the comment:

I think the documentation changes made for Issue 16115 should address your 
first question (shell=False). For shell=True, see the discussion at Issue 
20344. Perhaps you can review my patch.

--
dependencies: +test the executable arg to Popen() and improve related docs
nosy: +martin.panter
resolution:  -> duplicate
status: open -> closed
superseder:  -> subprocess.check_output() docs misrepresent what shell=True does

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13195] subprocess: args with shell=True is not documented on Windows

2011-10-17 Thread anatoly techtonik

New submission from anatoly techtonik techto...@gmail.com:

For UNIX, it is said that if shell=False then you need to pass `args` as a list 
(if you want to pass any parameters to executable). Is that true for Windows 
(and perhaps other platforms) as well?

Again, for UNIX it is said that with shell=True, and args is a list - every 
item except the first one is an argument to the shell itself. Is it the same on 
Windows?


It would be better to just give advice in `shell` parameter description to 
pass args as a list with shell=False or else you'll lose params in Unix. If 
shell=True you need to pass args as a string, because list is needed only if 
you need to pass arguments to shell itself.

--
assignee: docs@python
components: Documentation, Library (Lib)
messages: 145662
nosy: docs@python, techtonik
priority: normal
severity: normal
status: open
title: subprocess: args with shell=True is not documented on Windows

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13195] subprocess: args with shell=True is not documented on Windows

2011-10-17 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

See also issues #7839, #8972 and #10197.

--
nosy: +haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13195] subprocess: args with shell=True is not documented on Windows

2011-10-17 Thread anatoly techtonik

anatoly techtonik techto...@gmail.com added the comment:

Looks like a can of worms. For now I'll be pretty fine if this stuff is at 
least properly documented.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13195] subprocess: args with shell=True is not documented on Windows

2011-10-17 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 For now I'll be pretty fine if this stuff is at least
 properly documented.

Can you propose a document patch describing the current behaviour?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13195] subprocess: args with shell=True is not documented on Windows

2011-10-17 Thread anatoly techtonik

anatoly techtonik techto...@gmail.com added the comment:

Certainly not right now as I don't have development environment setup. Perhaps 
in a few days if somebody pings me. It could be a lot easier with online 
editor, of course - http://code.google.com/p/pydotorg/issues/detail?id=6

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13195] subprocess: args with shell=True is not documented on Windows

2011-10-17 Thread Ross Lagerwall

Changes by Ross Lagerwall rosslagerw...@gmail.com:


--
nosy: +rosslagerwall

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13195] subprocess: args with shell=True is not documented on Windows

2011-10-17 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 Certainly not right now as I don't have development environment setup

See our development guide to get such environment:
http://docs.python.org/devguide/setup.html

 It could be a lot easier with online editor

Would like like to work on this project? (provide an online editor)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13195] subprocess: args with shell=True is not documented on Windows

2011-10-17 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13195] subprocess: args with shell=True is not documented on Windows

2011-10-17 Thread anatoly techtonik

anatoly techtonik techto...@gmail.com added the comment:

On Mon, Oct 17, 2011 at 3:24 PM, STINNER Victor rep...@bugs.python.org wrote:

 Certainly not right now as I don't have development environment setup

 See our development guide to get such environment:
 http://docs.python.org/devguide/setup.html

I know. There is better tool at
https://bitbucket.org/techtonik/devinabox but I have only 500Mb left
on my system drive and there are still more problems I need to handle.

 It could be a lot easier with online editor

 Would like like to work on this project? (provide an online editor)

Do you mean would I like to work on it? Actually, I made a prototype
on AppEngine that waits for JS guru to tune CodeMirror interface. If
somebody is interested to help, I've just uploaded the code to
http://code.google.com/p/pydotorg/source/browse/?repo=doceditor

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com