Codebase list python-procrunner / b31c87a

Tree @b31c87a (Download .tar.gz)


.. image::

.. image::

.. image::

.. image::
        :alt: Documentation Status

.. image::
     :alt: Updates

Versatile utility function to run external processes

* Free software: BSD license
* Documentation:


* runs an external process and waits for it to finish
* does not deadlock, no matter the process stdout/stderr output behaviour
* returns the exit code, stdout, stderr (separately), and the total process
  runtime as a dictionary
* process can run in a custom environment, either as a modification of
  the current environment or in a new environment from scratch
* stdin can be fed to the process, the returned dictionary contains
  information how much was read by the process
* stdout and stderr is printed by default, can be disabled
* stdout and stderr can be passed to any arbitrary function for
  live processing
* optionally enforces a time limit on the process


This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter:
.. _`audreyr/cookiecutter-pypackage`:

Commit History @b31c87afe02e581d19626ef90ebc7c5cba663eb6