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 details)
File details
Details for the file checkpopen-0.0.0.2.tar.gz
.
File metadata
- Download URL: checkpopen-0.0.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.7.1 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
da208fdfd5d2a50fc1a1dca9752e955d24462cc4d80a6cc10c9e179c19063286
|
|
MD5 |
a646da26c76b8c0daeecebbc638b7a75
|
|
BLAKE2b-256 |
f0ee50d289f7051679094edb9da39b37561eb47b6d369fbd718ed198b8491048
|