Skip to main content

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ThreadedCommand-0.2-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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