CLI reference / waits / open

stado waits open

Invocation

stado waits open [OPTIONS] --kind <KIND> --what <WHAT> --where <PLACE> --pid <PID>

Purpose

Register for process --pid a wait on --kind (one of the register's `rodzaj` words: siec, object-api, host, blokada, proces, baza, terminal, zgoda, sesja), for --what at --where. It ends when that process does or with `stado waits close <id>`

Required inputs and options

Input or optionContract
--kind <KIND>Command option; required or optional as shown in the invocation.
--what <WHAT>Command option; required or optional as shown in the invocation.
--where <PLACE>Command option; required or optional as shown in the invocation.
--pid <PID>Command option; required or optional as shown in the invocation.
--jsonEmit the registered wait as JSON

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.