This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arve.Knudsen
Recipients Arve.Knudsen, SilentGhost, r.david.murray
Date 2011-02-07.18:30:56
SpamBayes Score 1.241246e-11
Marked as misclassified No
Message-id <AANLkTimTgmTnrsRQkTAVDt84CnSQ+-+gthpMnR=J1ko1@mail.gmail.com>
In-reply-to <1297102796.55.0.802393332021.issue11139@psf.upfronthosting.co.za>
Content
The non-obvious thing with 8972 is what to do with an argument list when the
'shell' option is True, isn't it? I can't see how it overlaps with my case.
My suggestion is a flag to enable argument protection in Popen, either just
for arguments passed as a list (i.e., like how it's done in 2.6) or maybe
also for the case where you pass the command as a string (I haven't
considered that case yet, since it's not directly interesting to me).

I can actually see that exarkun suggests something along the same lines in
8972: 'implement the cmd.exe quoting rules in a different function from the
MS C runtime rules'.

Arve

On Mon, Feb 7, 2011 at 7:19 PM, R. David Murray <report@bugs.python.org>wrote:

>
> R. David Murray <rdmurray@bitdance.com> added the comment:
>
> As noted in issue 8972, it's not clear what such a mode should actually do.
>  If you have a concrete proposal you could make it, probably on the
> python-ideas mailing list.  But I'm personally not in favor of it; I prefer
> maintaining as much API consistency between windows and linux as we
> reasonably can.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue11139>
> _______________________________________
>
Files
File name Uploaded
unnamed Arve.Knudsen, 2011-02-07.18:30:56
History
Date User Action Args
2011-02-07 18:30:57Arve.Knudsensetrecipients: + Arve.Knudsen, r.david.murray, SilentGhost
2011-02-07 18:30:57Arve.Knudsenlinkissue11139 messages
2011-02-07 18:30:56Arve.Knudsencreate