A Linux subprocess module.


Keywords
python, shell, subprocess
Licenses
GPL-3.0/GPL-3.0+
Install
pip install pyshell==0.1.1

Documentation

pyshell

A Linux subprocess module, An easier way to interact with the Linux shell

Installation

You can install the latest release

$ pip install pyshell

You can install directly from GitHub

$ pip install https://github.com/volitank/pyshell/archive/refs/heads/main.tar.gz

Usage

from pyshell import pyshell
shell = pyshell()
shell.echo('Hello', "GitHub!")

Docs

Check out the Official Documentation for help with syntax and different arguments

TODO

  • Update docs to include new expect and popen functionality.
  • Update docs with new basic import shell
  • Update docs with DEFAULT, DEVNULL, PIPE, STDOUT moving to shell.