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
Release history Release notifications | RSS feed
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
Close
Hashes for ThreadedCommand-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 363d27701bbe0718b1c05697ae1a67e6bc4f784b3860e86f464bc1c9d946959e |
|
MD5 | 3afc6f821e21b8b289c75ebd761be162 |
|
BLAKE2b-256 | 481d5a5f278c762dc738955b9be0b3d24aa75dcf8474e5bb9e8d29c4b8681ff1 |