BSD Ports

sysutils/py-command_runner 1.7.6 OpenBSD

platform agnostic command and shell execution tool

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

Description

command_runner's purpose is to run external commands from Python, just like "subprocess" on which it relies, while solving various problems a developer may face, including:

  • Handling of all possible subprocess.popen / subprocess.check_output scenarios / python versions in one handy function without encoding / timeout hassle.

  • Allow stdout/stderr stream output to be redirected to callback functions / output queues / files so you get to handle output in your application while commands are running.

  • Callback to optional stop check so we can stop execution from outside command_runner.

  • Callback with optional process information so we get to control the process from outside command_runner.

Install

Binary package:

pkg_add py3-command_runner

From the ports tree:

cd /usr/ports/sysutils/py-command_runner && make install

Dependencies

Build dependencies 6
Run dependencies 1
Required by 1

Commit history 2

DateCommitCreditsLog message
6446f29a66 sthen add various py-standard-pkg-resources deps, and relax some version pins. with tb@
bc3144e962 sthen update to py3-command_runner-1.7.6