Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 726 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 726 Bytes

image PyPI version Code style: black Python 3.6+ supported

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