23 lines
632 B
Markdown
23 lines
632 B
Markdown
# zaebaka
|
|
|
|
bash cat with a pipe
|
|
|
|
... or in another words, spawn N processes running someting and kill them when done.
|
|
|
|
# Usage
|
|
|
|
```
|
|
$ python zaebaka.py -h
|
|
usage: zaebaka [-h] -s SCRIPT [-c COUNT] [-t TEMPLATE]
|
|
|
|
bash cat with a pipe
|
|
|
|
options:
|
|
-h, --help show this help message and exit
|
|
-s, --script SCRIPT script to run in shell
|
|
-c, --count COUNT instances count
|
|
-t, --template TEMPLATE
|
|
template placeholder for instance id substitution
|
|
```
|
|
|
|
This tool can spawn N processes running specified script and substitute instance number in specific template `{{template}}` or other, if set.
|