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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file ThreadedCommand-0.2-py3-none-any.whl.

File metadata

  • Download URL: ThreadedCommand-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for ThreadedCommand-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 363d27701bbe0718b1c05697ae1a67e6bc4f784b3860e86f464bc1c9d946959e
MD5 3afc6f821e21b8b289c75ebd761be162
BLAKE2b-256 481d5a5f278c762dc738955b9be0b3d24aa75dcf8474e5bb9e8d29c4b8681ff1

See more details on using hashes here.

Supported by

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