<div dir="ltr">On Fri, Jun 13, 2014 at 5:11 AM, Nikolaus Rath <span dir="ltr"><<a href="mailto:Nikolaus@rath.org" target="_blank">Nikolaus@rath.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">"R. David Murray" <<a href="mailto:rdmurray@bitdance.com">rdmurray@bitdance.com</a>> writes:<br>
> Also notice that using a list with shell=True is using the API<br>
> incorrectly. It wouldn't even work on Linux, so that torpedoes<br>
> the cross-platform concern already :)<br>
><br>
> This kind of confusion is why I opened <a href="http://bugs.python.org/issue7839" target="_blank">http://bugs.python.org/issue7839</a>.<br>
<br>
</div>Can someone describe an use case where shell=True actually makes sense<br>
at all?<br></blockquote><br></div><div class="gmail_quote">You need to write a wrapper script to automate several user commands. It is<br>quite common to use shell pipe redirection for joining many utils and calls<br></div>
<div class="gmail_quote">together than to rewrite data pipes in Python.<br></div></div></div>