[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2013-08-04 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: >Maybe the solution is to make what I was trying to do easier without >fooling with the shell instead of playing the fool's game of trying to >improve the ability to deal with the shell so we can pass things >through it unnecessarily. You are too harsh for your

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2010-06-19 Thread Andrew Moise
Andrew Moise added the comment: Okay, makes sense. It sure would be nice on Windows to have an equivalent of list2cmdline() that works for the shell. I actually don't have immediate access to the code anymore, but I remember having to fool around with list2cmdline in the first place because

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2010-06-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: It will return the former. To clarify, it's true that there appears to be a problem with Popen(['echo', 'foo|bar'], shell=True). That is being tracked in issue7839. What's invalid is the report that list2cmdline() should be quoting strings with | in th

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2010-06-19 Thread Andrew Moise
Andrew Moise added the comment: Hm, I'm not sure I understand. After r82075, will list2cmdline(['echo', 'foo|bar']) return 'echo foo|bar', or will it return 'echo "foo|bar"'? -- ___ Python tracker ___

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2010-06-19 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: See the commit message for r82075 and the discussion on issue8972 and issue7839. -- ___ Python tracker ___

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2010-06-19 Thread Andrew Moise
Andrew Moise added the comment: Why is this bug invalid? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2010-06-18 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: I reverted r60115 from trunk (2.7) in r82075 and from py3k in r82076. -- nosy: +exarkun resolution: fixed -> invalid ___ Python tracker ___

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2008-01-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: fixed in trunk r60115 (2.6). -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2008-01-19 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- assignee: -> gregory.p.smith keywords: +easy nosy: +gregory.p.smith __ Tracker <[EMAIL PROTECTED]> __ ___ Pytho

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2007-10-18 Thread Andrew Moise
New submission from Andrew Moise: I expected subprocess.list2cmdline() to convert my list of arguments into a command line which results in behavior equivalent to the Unix exec() functions -- that is, that I can safely pass arbitrary characters to it and it'll make it such that those characters a