Skip to main content

Popen context manager variant that raises CalledProcessError like check_call

Project description

PyPI

CheckPopen

Popen context manager variant that raises CalledProcessError like check_call.

  1. Context manager is not available in Python2.
  2. 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.
  3. Not closing stdin/stdout implicitly to make sure we communicate with the pipe correctly.

Project details


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page