kosa8 docs

Commands / kosa8 cloud sandbox exec-status

kosa8 cloud sandbox exec-status

Show a background command: running or exited, its exit code and output

Usage

kosa8 cloud sandbox exec-status ID EXEC_ID

Prints the command's output so far (its first MiB; the whole file is at its output path, readable with kosa8 cloud files get). With --wait, waits for it to exit and then exits with its exit code, like exec.

Also known as: bg

Options

FlagTypeWhat it doesDefault
--timeoutdurationwith --wait: give up after this long1h0m0s
-w, --waitboolwait for it to exit, then exit with its code—

Example

  kosa8 cloud sandbox exec-status sbx_abc bg_0123456789abcdef
  kosa8 cloud sandbox exec-status sbx_abc bg_0123456789abcdef --wait --timeout 30m