Skip to content

mibexx/threaded_command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python lib to run threaded console commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages