Module spin_sdk.wit.imports.wasi_cli_terminal_stderr_0_2_0
An interface providing an optional terminal-output for stderr as a
link-time authority.
Functions
def get_terminal_stderr() ‑> TerminalOutput | None-
Expand source code
def get_terminal_stderr() -> Optional[wasi_cli_terminal_output_0_2_0.TerminalOutput]: """ If stderr is connected to a terminal, return a `terminal-output` handle allowing further interaction with it. """ raise NotImplementedErrorIf stderr is connected to a terminal, return a
terminal-outputhandle allowing further interaction with it.