vscode-python-extension-core
    Preparing search index...

    Interface IPythonTerminal

    Provides a properly configured terminal for executing Python commands.

    interface IPythonTerminal {
        send: (options: string[], addNewLine?: boolean) => Promise<void>;
    }

    Implemented by

    Index

    Properties

    Properties

    send: (options: string[], addNewLine?: boolean) => Promise<void>

    Send a command to the terminal.

    Type Declaration

      • (options: string[], addNewLine?: boolean): Promise<void>
      • Parameters

        • options: string[]

          The options to send. (Must not include 'python' or the interpreter path.)

        • OptionaladdNewLine: boolean

          Whether to add a new line to the end of the command. This option is only used for the VSCode terminal.

        Returns Promise<void>