tea-shell - execute command line tools like python functions, while you sit back and sip on your tea.
Project description
tee-shell
Tee shell is a set of utilities for running other applications.
It enables you to run shell commands in various modes and has an api for fine tuning your running processes.
Usage
>>> import tsh
>>> ls = tsh.Command("ls")
>>> ls = ls.bake("-1")
>>> process = ls("tsh")
>>> process.wait()
True
>>> print(process.read())
__init__.py
__pycache__
command.py
consts.py
contexts.py
decorators.py
errors.py
process.py
shell.py
types.py
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
tsh-0.0.1.tar.gz
(6.4 kB
view hashes)
Built Distribution
tsh-0.0.1-py3-none-any.whl
(12.4 kB
view hashes)