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.
If verbose argument is < 0 then no output is shown, but the result still returned
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
Built Distribution
File details
Details for the file ruamel.showoutput-0.1.7.tar.gz
.
File metadata
- Download URL: ruamel.showoutput-0.1.7.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a99414c0b452e84a51bdb1ae835732f3b4694dd987f315b786cf7a4e1defd44 |
|
MD5 | 3400543c3b8639c87206e80590f83086 |
|
BLAKE2b-256 | f90c17a6f27ba5a47376122b52696ced6086c6870941502f4d95d6ca9715b739 |
File details
Details for the file ruamel.showoutput-0.1.7-py2.py3-none-any.whl
.
File metadata
- Download URL: ruamel.showoutput-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7b21e3b297e626fb5322c7657eee3889196d53a737b1b0c2d7c18d2123ca2b9 |
|
MD5 | 3b7638fe68c49884706a23ca8e833309 |
|
BLAKE2b-256 | 22ea3e6740d894b1e57000043ecb9d458384723a396368228d968e3705adf662 |