Popen context manager variant that raises CalledProcessError like check_call
Project description
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.2.tar.gz
(4.3 kB
view hashes)