[issue13197] subprocess: move shell arguments to a separate keyword param

2022-03-25 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Popen should raise ValueError if pass a string when shell=False or a list when shell=True ___ Python tracker

[issue13197] subprocess: move shell arguments to a separate keyword param

2014-05-15 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13197 ___ ___ Python-bugs-list

[issue13197] subprocess: move shell arguments to a separate keyword param

2011-10-21 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- type: - feature request versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13197 ___

[issue13197] subprocess: move shell arguments to a separate keyword param

2011-10-19 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: List not only needs to be joined, it should be quoted as well. But the biggest problem will be the change of behavior between Python versions which may confuse users even more. Perhaps it's a good time to start embedding 'best practice'

[issue13197] subprocess: move shell arguments to a separate keyword param

2011-10-18 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I don't think you can tighten the API at this point. We could however make Popen complain when options are going to be thrown away. Or it could be made more liberal about what is accepts (running shlex on string input or join

[issue13197] subprocess: move shell arguments to a separate keyword param

2011-10-17 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: subprocess.Popen(args, shell=shell) is implicitly inconsistent on Unix: 1. when shell=False, the args should be a list or you'll lose program options 2. when shell=True, the args should be a string or your program options will be

[issue13197] subprocess: move shell arguments to a separate keyword param

2011-10-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Did you read the issue #7839? -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13197 ___

[issue13197] subprocess: move shell arguments to a separate keyword param

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/issue13197 ___ ___

[issue13197] subprocess: move shell arguments to a separate keyword param

2011-10-17 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: No. I won't be fixed in 2.7 anyway, and if it can not be fixed, it should be documented at least. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13197

[issue13197] subprocess: move shell arguments to a separate keyword param

2011-10-17 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Oh, sorry - my attention span is limited under time pressure. #7839 is related, of course. There is a lot of comments, so I'll take a look at it later. -- ___ Python tracker

[issue13197] subprocess: move shell arguments to a separate keyword param

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/issue13197 ___