Popen context manager variant that raises CalledProcessError like check_call
Project description
[![PyPI](https://img.shields.io/pypi/v/checkpopen)](https://pypi.org/project/checkpopen/)
## CheckPopen
Popen context manager variant that raises CalledProcessError like check_call.
Context manager is not available in Python2.
When exceptions happened in Python3 original context, the process might get stuck especially when the process is daemon. We try to kill the process implicitly when exception happens.
Not closing stdin/stdout implicitly to make sure we communicate with the pipe correctly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
checkpopen-0.0.0.1.tar.gz
(2.9 kB
view hashes)