[Python-ideas] shutil.runret and shutil.runout

Nick Coghlan ncoghlan at gmail.com
Fri Feb 24 15:16:37 CET 2012

On Fri, Feb 24, 2012 at 11:11 PM, Tshepang Lekhonkhobe
<tshepang at gmail.com> wrote:
> Just curious: If put in the stdlib, will the above-mentioned module
> bring CPython shell handling to Perl 5 level?

Closer, but it's hard to match backticks and implicit interpolation
for convenience (neither of which is going to happen in Python).

However, the trade-off is that you get things like the ability to
create pre-defined commands and easier invocation of shlex.quote when
appropriate, along with exceptions for some errors that would
otherwise pass silently.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-ideas mailing list