Skip to main content

External process executor wrapper

Project description

External Process Execution Wrapper
-----------------------------------

Allows you to execute external commands getting large outputs in real-time but also getting
all the output as a return variable.


Examples
--------

from py_execute import run_command
ret = run_command.execute('echo "Hello World"')
Hello World
ret
'Hello World
'

ret = run_command.execute('read -p "Do you like py-executor?" yn; case $yn in [yY]* ) echo "cool";; esac', user_input='y
')
cool
ret
'cool
'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-execute-0.1.4.tar.gz (4.6 kB view hashes)

Uploaded Source

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