Skip to main content

like subprocess.check_output(), but showing progress

Project description

show_ouput works like check_output, but showing progress

There is a plethora of ways of calling an external program in Python. For longer running commands you want to be able to see what is happening, so subprocess.check_output() is not really usable. Falling back to os.system() with the need to ' '.join() the command is not that useful as you don’t have an exit status

show_output() works like check_output() (including the input= keyword parameter), but will display the progress to stdout. The total output is returned to the caller, or passed back in the Exceptions output attribute, raised if the return code from the calling process is non-zero.

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

ruamel.showoutput-0.1.2.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

ruamel.showoutput-0.1.2-py2.py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 2 Python 3

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