./sysutils/py-command_runner [platform agnostic command and shell execution tool]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 1.4.0, Package name: py-command_runner-1.4.0
Maintained by: The OpenBSD ports mailing-list
Master sites:
Flavors (export FLAVOR=xyz, setenv FLAVOR xyz):
  • python3
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.


Filesize: 29.535 KB
Version History (View Complete History)
  • (2022-08-21) Package added to openports.se, version py-command_runner-1.4.0 (created)
[show/hide] View available PLISTS (Can be a lot of data)