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 takluyver
Recipients akira, docs@python, gregory.p.smith, ncoghlan, r.david.murray, takluyver
Date 2016-11-14.05:47:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479102475.03.0.625184367612.issue27050@psf.upfronthosting.co.za>
In-reply-to
Content
I still feel that having one function with various options is easier to explain than three separate functions with awkward names and limited use cases (e.g. no capturing output without checking the exit code). The tweeter you replied to said he didn't like subprocess.call(). If you really think the trio is a better starting point, though, you're the one with the power to change the docs ;-)

There's more awkwardness in the subprocess API; I suspect that what that tweeter wants is something built around an event loop - like Node - so you can handle output incrementally using events. That's not something that we can easily fix in subprocess, because we don't have a default event loop to attach subprocesses to.
History
Date User Action Args
2016-11-14 05:47:55takluyversetrecipients: + takluyver, gregory.p.smith, ncoghlan, r.david.murray, docs@python, akira
2016-11-14 05:47:55takluyversetmessageid: <1479102475.03.0.625184367612.issue27050@psf.upfronthosting.co.za>
2016-11-14 05:47:55takluyverlinkissue27050 messages
2016-11-14 05:47:54takluyvercreate