Captures stderr/stdout as a stream to allow easy log monitoring of long running shell processes.",
Project description
Finally, a subprocess type that streams out stdout/stderr easily
Capturing the stderr AND stdout from a process in python is not that easy. This class makes this capturing much easier by delegating the line capturing to seperate threads. This capture can be totally in memory or can optionally be streamed to a output stream such as a file handle.
Python version: 3.6+
Because of the use of type annotations, this library is not compatible with python 2.7 However you are free to strip out these type annotations and this project should work pretty well.
TODO
- Make writing supplied streams something that happens only on the main thread.
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
Close
Hashes for capturing_process-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bad2324e705036a0c6d43ff7318641e9d19e53aad12adc899f8eb5c276f4d77 |
|
MD5 | 791b271610b1a72399ed7b5428bfddf9 |
|
BLAKE2b-256 | dd35beb51089ec37e12676656327b316edc76597e1a4e10217b2ccb52597b876 |