UPTERM(1)
π¦ 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;
0when it was stopped, or no guest joined within its join timeout;128+Nwhen the host or its command was killed by signal N;125when 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 forwait
π OPTIONS INHERITED FROM PARENT COMMANDS π
--debug[=false]β Enable debug logging (log file:/build/.upterm/upterm.log). A non-emptyDEBUGturns 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 π«Ά
π 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
- arch rolling: upterm 0.41.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms