Edit: outputcapture.py