Skip to main content

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 the cmd in bash (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 by basedOn. 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 same cmd as defined
    • {method="listenPort", port=1234} will try to find a process listeing to the given port.

Project details


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)

Uploaded Source

Built Distribution

lambada_launcher-0.3.0-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

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