| name | queue |
| description | Run long commands in the background without tool timeouts. Use for anything that may run longer than 10 seconds (builds, test suites, deploys) |
The command is read from stdin:
queue run <<'EOF'
nix build .#package --no-link -L
EOF
task=<id> is printed first.
Output streams until the command finishes and the exit code is the command's exit code.
Queues detach after ~100s queue with exit code 75.
The task keeps running.
queue wait <id>
queue wait
queue log <id>
queue status [--all]
queue ps <id>
queue restart <id>
queue kill <id>
queue run [--after ID] [--tail-ok N] [-C DIR]
Rules:
- Exit code 75 always means a detached build.
- Never pipe the queued command through head/tail. Use
queue log or --tail-ok instead, otherwise output is lost forever.