An execute_request message on the 'shell' channel.

Hierarchy

Properties

buffers?: (ArrayBuffer | ArrayBufferView)[]

An optional list of binary buffers.

channel: "shell"

The channel on which the message is transmitted.

content: {
    allow_stdin?: boolean;
    code: string;
    silent?: boolean;
    stop_on_error?: boolean;
    store_history?: boolean;
    user_expressions?: JSONObject;
}

The content of the message.

Type declaration

  • Optional allow_stdin?: boolean

    Whether to allow stdin requests. The default is true.

  • code: string

    The code to execute.

  • Optional silent?: boolean

    Whether to execute the code as quietly as possible. The default is false.

  • Optional stop_on_error?: boolean

    Whether to the abort execution queue on an error. The default is false.

  • Optional store_history?: boolean

    Whether to store history of the execution. The default true if silent is False. It is forced to false if silent is true.

  • Optional user_expressions?: JSONObject

    A mapping of names to expressions to be evaluated in the kernel's interactive namespace.

header: IHeader<"execute_request">

The message header.

metadata: JSONObject

Metadata associated with the message.

parent_header: Record<string, never> | IHeader<KernelMessage.MessageType>

The parent message

Generated using TypeDoc