57

GitHub - kennethreitz/bash.py: An inline Bash script runner, for Python.

 6 years ago
source link: https://github.com/kennethreitz/bash.py
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

README.md

bash.py

An inline Bash script runner, for Python.

Example Usage

>>> import bash

>>> bash.run("echo hi")
<BashProcess pid=24108 return_code=0>

>>> _.output
'hi\n'

Installation

$ pipenv install bash.py

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK