A Linux subprocess module.
Project description
pyshell
A Linux subprocess module, An easier way to interact with the Linux shell
Installation
You can install using the Volian repo
echo "deb http://deb.volian.org/volian/ scar main" | sudo tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list
wget -qO - https://deb.volian.org/volian/scar.key | sudo tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg > /dev/null
sudo apt update && sudo apt install python3-pyshell
You can also install using pip
pip install pyshell
Usage
from pyshell import pyshell
shell = pyshell()
shell.echo('Hello', "GitLab!")
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 toshell.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyshell-0.1.1.tar.gz
(22.3 kB
view hashes)
Built Distribution
pyshell-0.1.1-py3-none-any.whl
(22.2 kB
view hashes)