bash.pyAn inline Bash script runner, for Python.
An inline Bash script runner, for Python.
Example Usage
>>> import bash
>>> bash.run("echo hi")
<BashProcess pid=24108 return_code=0>
>>> proc = _
>>> proc.output
'hi\n'
>>> proc.return_code
0
Installation
$ pipenv install bash.py
评论