[Python-ideas] Adding a subprocess.CompletedProcess class
Oleg Broytman
phd at phdru.name
Wed Jan 28 02:34:49 CET 2015
On Tue, Jan 27, 2015 at 05:13:45PM -0800, Thomas Kluyver <thomas at kluyver.me.uk> wrote:
> On 27 January 2015 at 16:57, Oleg Broytman <phd at phdru.name> wrote:
>
> > Have you ever looked at wrappers like these:
> >
> > https://executor.readthedocs.org/en/latest/
> > https://sarge.readthedocs.org/en/latest/
> > https://github.com/kennethreitz/envoy
> > https://amoffat.github.io/sh/
> >
>
> I was aware of three of them (sarge, envoy, sh).
> But the friction isn't
> enough to push me to add another dependency: I invariably use subprocess
> and put up with writing somewhat awkward code.
The worst outcome of included batteries: people are always trying to
push all possible batteries into stdlib. :-(
> Envoy and sarge appear to implement something very similar to my proposal,
> but as part of a more ambitious goal, namely shell-style pipelines handled
> by Python.
Something like these?
https://pypi.python.org/pypi/iterpipes
https://github.com/kelleyk/py3k-iterpipes
https://github.com/airekans/Pypiep
http://plumbum.readthedocs.org/en/latest/
https://pypi.python.org/pypi/popen
https://pypi.python.org/pypi/shell.py
https://seveas.github.io/whelk/
> Thomas
Oleg.
--
Oleg Broytman http://phdru.name/ phd at phdru.name
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-ideas
mailing list