How to Install and Uninstall python3-procrunner Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 16,2024

1. Install "python3-procrunner" package

In this section, we are going to explain the necessary steps to install python3-procrunner on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-procrunner

2. Uninstall "python3-procrunner" package

Here is a brief guide to show you how to uninstall python3-procrunner on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-procrunner $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-procrunner package on Ubuntu 21.10 (Impish Indri)

Package: python3-procrunner
Architecture: amd64
Version: 1.1.0-1
Priority: optional
Section: universe/python
Source: python-procrunner
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 50
Depends: python3-six, python3:any
Filename: pool/universe/p/python-procrunner/python3-procrunner_1.1.0-1_amd64.deb
Size: 10780
MD5sum: a0e28a4a1b30aeb7435ada85432edd9c
SHA1: 3173b23100e502b1f68530bd6102ef561d0cb470
SHA256: 0fcc54ceef68a278c8b6d58d40b76e8fb83bae872136c41650dd4043746c40c4
SHA512: bbc5d114e960c723af656fdc06f64574fd93fd768872045323430c7a73299d7a9b396de03648e755dfeb0cf1c34740f09f620e61d7d1698fcbfd91849aa560a3
Homepage: https://github.com/DiamondLightSource/python-procrunner
Description-en: Versatile utility function to run external processes from Python
Versatile utility function to run external processes from Python, with many
features:
* 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, both as
bytestrings), 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 (separately, both as unicode strings)
* optionally enforces a time limit on the process
Description-md5: 118caca40dcd28ae772eadafcf12ede3