UPTERM(1)

πŸ“¦ version 0.41.0, in arch rolling

πŸ¦‹ UPTERM(1) Β· upterm-session-wait Β· Upterm Manual πŸ¦‹

✨ NAME ✨

upterm-session-wait β€” wait for a session to end, bestie πŸ’–

🌸 SYNOPSIS 🌸

upterm session wait NAME|ID [flags]

πŸ’… DESCRIPTION πŸ’…

Okay so this one waits for a session to end β€” you give it the session’s name or its session ID β€” and then it exits with that session’s outcome. Slay. ✨

NAME|ID is either the session’s name (the one upterm host printed, or the one --name gave it) or its session ID. upterm session list shows both, iykyk. πŸ‘‘

If you give it a name, it waits for the session that holds that name when the wait starts. So let upterm host --detach return before you wait, just like in the example. If a session has already ended, it gets reported from its record β€” and upterm session list deletes that record once it is 7 days old. πŸŽ€

Exit status follows the session, fr fr:

  • its command’s status when the command exited;
  • 0 when it was stopped, or no guest joined within its join timeout;
  • 128+N when the host or its command was killed by signal N;
  • 125 when the outcome can’t be known or read, when no session has the name, or for a usage or configuration error.

A command can exit 125 too β€” upterm session info NAME -o json has the reason. πŸ‘€

Ctrl+C stops waiting, with 130 on Unix, and leaves the session running. No cap. πŸ’œ

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help[=false] β€” help for wait

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • --debug[=false] β€” Enable debug logging (log file: /build/.upterm/upterm.log). A non-empty DEBUG turns it on too.

🌈 EXAMPLE 🌈

# Wait for a detached session and take its exit status:
upterm host --detach --accept --name build -- make
upterm session wait build

# Wait for a session given its session ID:
upterm session wait d3k5fia7m4us73ehblug

🫢 SEE ALSO 🫢

upterm-session(1)

πŸ“œ HISTORY πŸ“œ

2-Nov-2026 β€” Auto generated by spf13/cobra


That’s the whole vibe, bestie: Upterm 0.0.0+dev, Nov 2026, page UPTERM(1). Go wait on that session like the main character you are πŸ’–βœ¨

πŸ“¦ where this page comes from