Skip to main content
ancha wait follows a run started with ancha run --detach and returns when it finishes, with the same exit code ancha run would have returned.

Example

Output
With --json, wait prints progress events and then the same run_finished summary as ancha run --json. To see the raw events as they happen, use ancha logs <id> --follow instead. Pressing Ctrl-C stops wait only. The run keeps going; call wait, logs or status again later.

Exit codes

The run’s own exit code: 0, 1, 2, 3 or 4. See ancha run.