Skip to main content

Simple API for running external processes.

Project description

This is a convenience wrapper around the subprocess module.


Run a command, get the response:

>>> r ='git config', data='data to pipe in', timeout=2)

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

Pipe stuff around too:

   >>> r ='uptime | pbcopy')

   >>> r.command
   >>> r.status_code

   >>> r.history
   [<Response 'uptime'>]

Forked from:

Project details

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page