Databricks SDK for JavaScript
    Preparing search index...

    Interface ExecuteCommandSyncResponse

    Result of a completed unary command execution: captured output, exit code, and terminal status.

    interface ExecuteCommandSyncResponse {
        commandId?: string;
        exitCode?: number;
        status?: ExecuteCommandStatus;
        stderr?: string;
        stdout?: string;
        truncated?: boolean;
    }
    Index

    Properties

    commandId?: string

    Daemon-generated identifier for this command execution, for correlation (for example in ListCommands).

    exitCode?: number

    Process exit code. Unset when the process was terminated by a signal (e.g. on TIMED_OUT) or never started (FAILED) rather than exiting normally.

    Terminal status of the command execution. Always set on a successful response; never EXECUTE_COMMAND_STATUS_UNSPECIFIED.

    stderr?: string

    Captured standard error, with the same UTF-8 semantics as stdout.

    stdout?: string

    Captured standard output as UTF-8 text. Invalid UTF-8 bytes are replaced with the Unicode replacement character (U+FFFD).

    truncated?: boolean

    True when stdout / stderr were truncated because the captured output exceeded the server's per-response size cap. The dropped output is not included in this response and is not recoverable through this unary API.