Skip to main content

Run single-threaded concurrent shell and ssh commands withfew keystrokes.

Project description

Run single-threaded concurrent shell and SSH commands with few keystrokes.

from aioshell import Executor, Shell
exe = Executor()
exe.add(Shell('date >/tmp/aioshell; sleep 1'))
exe.add(Shell('sleep 1; date >>/tmp/aioshell'))
exe.finish()
# Check /tmp/aioshell file to see that only 1 sec has passed.

For more details, please, Read the Docs.

Project details


Release history Release notifications

This version
History Node

1.0

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page