BSD Ports

sysutils/py-subprocess-tee 0.4.2p0 OpenBSD

subprocess.run replacement that captures and displays output

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
sysutils, lang/python

Description

This package provides a drop-in alternative to subprocess.run that captures the output while still printing it in real-time, just the way tee does.

Printing output in real-time while still capturing is valuable for any tool that executes long-running child processes. For those, you do want to provide instant feedback (progress) related to what is happening.

In the other systems

SystemPortVersion
OpenBSDsysutils/py-subprocess-tee0.4.2p0
NetBSDsysutils/py-subprocess-tee0.4.2nb1

Install

Binary package:

pkg_add py3-subprocess-tee

From the ports tree:

cd /usr/ports/sysutils/py-subprocess-tee && make install

Dependencies

Build dependencies 6
Run dependencies 1