Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Runs a console command in multiple threads

Project description

Threaded console command

With this package you can run your console commands in threads. This process can be used to run a command multiple times.

Usage as executable

# tcommand <count threads> <command ...>
# example:

tcommand 2 ls -la

Usage as package

import ThreadedCommand as tc

tc.run(['ls', '-la'], 2)

Output:

Enter ctrl+c to stop...
Command:  ['ls']
Status: 2/2 active threads

Project details


Download files

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

Files for ThreadedCommand, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size ThreadedCommand-0.2-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes

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