The devel/py-sh port
py3-sh-2.2.2 – subprocess interface: call any program like a function
Description
sh is a full-fledged subprocess replacement for Python that allows you
to call any program as if it were a function:
from sh import ifconfig
print(ifconfig("eth0"))
sh is not a collection of system commands implemented in Python.
sh relies on various Unix system calls and only works on Unix-like
operating systems - Linux, macOS, BSDs etc. Specifically, Windows is
not supported.
WWW: https://github.com/amoffat/sh
- Categories:
-
devel
lang/python
Library dependencies
Build dependencies
Run dependencies