Skip to content

jouet job start ​

  • Usage: jouet job start [FLAGS] <ID> [-- CMD]…

Start a command in the background and return once it is ready

Runs CMD (directly, not through a shell) in this directory, with stdin closed and stdout and stderr in the job's log. With --port, --http or --output, waits up to --timeout (default 60s) for the job to be ready and fails (exit 1) with the end of its log if it exits first; a job still not ready at the timeout keeps running (exit 124). Without one, it returns at once, unless the command fails straight away. Refuses (exit 4) while a job of the same ID runs, unless --replace stops it first.

Arguments ​

  • <ID> — The job's ID: letters, digits, _, . and -
  • [-- CMD]… — The command and its arguments, after --

Flags ​

  • --port <N> — Ready once localhost's port N accepts connections
  • --http <URL> — Ready once URL answers with a 2xx status
  • -o --output <REGEX> — Ready once a line of the job's log matches REGEX
  • --timeout <DUR> — How long to wait for the ready check (default 60s)
  • --replace — Stop a running job of the same ID first
  • -h --help — Print help
MIT LicenseCopyright © 2026jdx.dev