[issue2304] subprocess under windows fails to quote properly when shell=True

2010-11-08 Thread Weeble

Weeble clockworksa...@gmail.com added the comment:

Is there any way to write code that's safe with or without this fix? If I have 
code that currently does this:

subprocess.check_call('c:\some path with spaces arg1 arg2 a quoted arg', 
shell=True)

...will it break when running on a version of Python with this fix? Is there 
any good way to detect whether the running Python has this fix or not?

--
nosy: +weeble

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-12 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

ReComitted as r83947, r83956, r83957 and this time the buildbots look happy. 
(At least as regards this change).

--
resolution:  - fixed
status: open - closed

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-08 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Committed as r83830, r83831, r83832

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-08 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

Reverted because of test-breakage on unixes.

--
nosy: +benjamin.peterson
resolution: fixed - 
status: closed - open

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
components: +Windows

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2010-07-31 Thread David Stanek

Changes by David Stanek dsta...@dstanek.com:


--
nosy: +dstanek

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2010-07-23 Thread Mark Lawrence

Mark Lawrence breamore...@yahoo.co.uk added the comment:

@Tim: @Gabriel: test_subprocess has changed a lot since the patch was done.  If 
one of you could provide a new patch for 2.7 and py3k I'll test it, thanks.

--
nosy: +BreamoreBoy
versions:  -Python 2.6

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2009-11-15 Thread Gabriel Genellina

Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:

An up-to-date patch; same contents, but this one can be cleanly 
applied to trunk (as of r76294)

--
versions: +Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file15340/subprocess.diff

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2009-08-12 Thread David Fraser

Changes by David Fraser dav...@sjsoft.com:


--
nosy: +davidfraser

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2009-04-07 Thread Tennessee Leeuwenburg

Changes by Tennessee Leeuwenburg tleeuwenb...@gmail.com:


--
stage:  - patch review

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



[issue2304] subprocess under windows fails to quote properly when shell=True

2008-03-18 Thread Tim Golden

Tim Golden [EMAIL PROTECTED] added the comment:

Updated patch against r61514. Test code now PEP8-compliant (I hope). New
tests cover spaces in command and parameter with and without shell=True,
both as simple command string and as list of command/args.

Added file: http://bugs.python.org/file9725/subprocess-r61514.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2304
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2304] subprocess under windows fails to quote properly when shell=True

2008-03-17 Thread Tim Golden

Tim Golden [EMAIL PROTECTED] added the comment:

Gabriel Genellina wrote:
 Gabriel Genellina [EMAIL PROTECTED] added the comment:
 
 You aren't testing the modified code, the Popen call should say 
 shell=True.
 
 I think that a more PEP8-compliant style would be nice (removing the 
 spaces after open and read, and using consistent indentation)

D'oh. Thanks, Gabriel. I'll rework the test and tidy
up the patch.

--
title: subprocess under windows fails to quote properly when shell=True - 
subprocess under windows fails to quote properly whenshell=True

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2304
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2304] subprocess under windows fails to quote properly when shell=True

2008-03-16 Thread Tim Golden

Changes by Tim Golden [EMAIL PROTECTED]:


--
title: subprocess under windows fails to quote properly under Windows when 
shell=True - subprocess under windows fails to quote properly when shell=True

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2304
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2304] subprocess under windows fails to quote properly when shell=True

2008-03-16 Thread Gabriel Genellina

Gabriel Genellina [EMAIL PROTECTED] added the comment:

You aren't testing the modified code, the Popen call should say 
shell=True.

I think that a more PEP8-compliant style would be nice (removing the 
spaces after open and read, and using consistent indentation)

--
nosy: +gagenellina

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2304
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com