Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msabramo/redirectory
Python utilties for redirecting files - esp. stdin, stdout, and stderr
https://github.com/msabramo/redirectory
Last synced: 28 days ago
JSON representation
Python utilties for redirecting files - esp. stdin, stdout, and stderr
- Host: GitHub
- URL: https://github.com/msabramo/redirectory
- Owner: msabramo
- Created: 2013-07-22T20:38:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-21T21:50:22.000Z (about 11 years ago)
- Last Synced: 2024-05-09T20:39:29.352Z (8 months ago)
- Language: Python
- Size: 242 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
redirectory
===========.. image:: https://secure.travis-ci.org/msabramo/redirectory.png
:target: http://travis-ci.org/msabramo/redirectory.. image:: https://coveralls.io/repos/msabramo/redirectory/badge.png
:target: https://coveralls.io/r/msabramo/redirectoryFill this in...
The original motivation for this is in this blog post:
http://marc-abramowitz.com/archives/2013/07/19/python-context-manager-for-redirected-stdout-and-stderr/There is some long and confusing background in
http://bugs.python.org/issue15805 — where that started out as a very simple
context manager that doesn't deal with subprocesses, then folks suggested a
whole bunch of more complex stuff, and then they ultimately decided to go back
to doing something super simple and suggested that other more advanced stuff go
in a separate issue.TL;DR is that issue15805 is going to be something simple and more for beginners
but they're open to doing something fancier with subprocesses in a separate
issue that I think is yet to be filed...