[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 : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

2011-10-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: -> feature request versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing lis

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

2011-10-18 Thread anatoly techtonik
anatoly techtonik 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' recipes in manual.

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

2011-10-18 Thread Raymond Hettinger
Raymond Hettinger 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 on list input as needed). -

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

2011-10-17 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2011-10-17 Thread anatoly techtonik
anatoly techtonik 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 anatoly techtonik
anatoly techtonik 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 ___ ___

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

2011-10-17 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2011-10-17 Thread STINNER Victor
STINNER Victor added the comment: Did you read the issue #7839? -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2011-10-17 Thread anatoly techtonik
New submission from anatoly techtonik : 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 passed to shell itself