Basic job launcher
Project description
Lambada
Lambada allows to launch and supervise multiple commands.
Launch with
python3 -m lambada
or
lambada
See lambada.toml for an example file.
[analog]
cmd = "xclock"
[digital]
cmd = "xclock -digital"
Commands are described by their name and a cmd
string field. Following options are availables :
shell
if set to true interpret thecmd
inbash
(allows to launch multiple commands and use bash features such as|
or>
)persist
if set to true, task is not terminated when lambada exits normally.detach
if set to true, task is detached from lambada and does not receive signal (SIGINT
or Ctrl+C) send to lambada.acquire
if set to true, monitor pre-existing task. Might be completed bybasedOn
. If no task is found, launch a new one.basedOn
support two way to retrieve pre-existing task{method="grepCmd"}
will try to find a process with exact samecmd
as defined{method="listenPort", port=1234}
will try to find a process listeing to the givenport
.
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 Distribution
lambada-launcher-0.3.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for lambada_launcher-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94c7e7d96dd6f91c9abbf415171c32947618fa45453840261ef3dc40fdc6404c |
|
MD5 | 1ac7a35cd50b674cd3f7a20767505329 |
|
BLAKE2b-256 | afc77df1c873491198253eaa7b3b485d5231b3a0298a187842cf6bedc303bb44 |