[issue13238] Add shell command helpers to subprocess module

2015-04-09 Thread R. David Murray
R. David Murray added the comment: Having reviewed this issue, I don't see any point to leaving it open. If any additional shell command helpers are added to the stdlib, it should be an ab-initio discussion based on what exists in the field, and start on python-ideas. But given current senti

[issue13238] Add shell command helpers to subprocess module

2013-08-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13238] Add shell command helpers to subprocess module

2013-06-13 Thread Paul Moore
Paul Moore added the comment: There's also https://pypi.python.org/pypi/sarge One other thing I *often* want to do when scripting commands is to capture output, but provide some form of "progress" reporting (something like a dot per line of output, usually). That's annoyingly verbose with subp

[issue13238] Add shell command helpers to subprocess module

2012-11-03 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13238] Add shell command helpers to subprocess module

2012-11-02 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13238] Add shell command helpers to subprocess module

2012-10-28 Thread Chris Rebert
Chris Rebert added the comment: Even more libraries in this vein: http://plumbum.readthedocs.org/en/latest/ http://amoffat.github.com/sh/ -- ___ Python tracker ___ __

[issue13238] Add shell command helpers to subprocess module

2012-07-12 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13238] Add shell command helpers to subprocess module

2012-04-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue13238] Add shell command helpers to subprocess module

2012-03-31 Thread Nick Coghlan
Nick Coghlan added the comment: Bumping the target version for this issue to 3.4. There's a lot of active development in the shell convenience function space at the moment, including my shell_command, Vinay Sajip's sarge, Kenneth Reitz's envoy and the possibility of doing something inspired b

[issue13238] Add shell command helpers to subprocess module

2012-02-26 Thread Nick Coghlan
Nick Coghlan added the comment: For a different take on this concept: http://julialang.org/manual/running-external-programs/ -- ___ Python tracker ___ __

[issue13238] Add shell command helpers to subprocess module

2011-12-10 Thread Nick Coghlan
Nick Coghlan added the comment: The PyPI package to prototype the API details is now available: http://pypi.python.org/pypi/shell_command http://shell-command.readthedocs.org https://bitbucket.org/ncoghlan/shell_command/ -- ___ Python tracker

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: Similar to what I did with walkdir, I plan to publish a shellcommand module on PyPI to give people a chance to look at the API and experiment with it without having to patch shutil in the standard library. The only aspect I'm 100% sold on at the moment for the

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: I like Nick's original idea for a handful of convenience functions but want to caution against adding a bunch of tools that start guessing at what you want. Adding automatic wildcard expansion, shell quoting/splitting and whatnot can make the module more

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Éric Araujo
Éric Araujo added the comment: >def __init__(self, command, *, **callkwds): Is the '*' marker needed? >self.callkwds = callkwds These aren’t used in the module-level functions. What is the use case? If you forgive me for the nitpick, the docstrings have too much indenting.

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Éric Araujo
Changes by Éric Araujo : Added file: http://bugs.python.org/file23694/b267e72c8c10.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue13238] Add shell command helpers to subprocess module

2011-11-08 Thread Nick Coghlan
Nick Coghlan added the comment: Éric, to answer your question, with the planned version of the new API, a "*.py" value interpolated with "{!u}" should indeed pick up all of those files, since the wildcard will be passed unmodified to the underlying shell, and all shells I am aware of will acc

[issue13238] Add shell command helpers to subprocess module

2011-11-08 Thread Nick Coghlan
Nick Coghlan added the comment: After working on the documentation updates to the subprocess module to emphasise the convenience functions, I've now changed my mind and think it makes sense to keep these additions in that module. Now that the shell helpers will default to using shlex.quote()