Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 24, 2018. It is now read-only.

not-kennethreitz/envoy

Repository files navigation

Envoy: Python Subprocesses for Humans.

Note: Delegator is a replacement for Envoy.

This is a convenience wrapper around the subprocess module.

You don't need this.

But you want it.

Usage

Run a command, get the response:

>>> r = envoy.run('git config', data='data to pipe in', timeout=2)

>>> r.status_code
129
>>> r.std_out
'usage: git config [options]'
>>> r.std_err
''

Pipe stuff around too:

>>> r = envoy.run('uptime | pbcopy')

>>> r.command
'pbcopy'
>>> r.status_code
0

>>> r.history
[]

About

Python Subprocesses for Humans(tm).

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Packages

Contributors

Languages