API 参考
    正在准备搜索索引...

    变量 VipExecutor常量

    VipExecutor: {
        commandStandardExecutor: (
            cmd: Command,
        ) => Promise<StandardExecutorResponse>;
        execCommand: (
            cmd: Command,
            opts?: Omit<SpawnOptionsWithoutStdio, "stdio" | "cwd">,
        ) => Promise<CommandResponse>;
        execCommandSync: (cmd: string, cwd?: string) => string;
        execShell: (
            commands: string | ShellCommand | ShellCommand[],
        ) => Promise<void>;
        getCommandTrimResponse: (command: string) => Promise<null | string>;
    } = ...

    执行器

    类型声明

    • commandStandardExecutor: (cmd: Command) => Promise<StandardExecutorResponse>
    • execCommand: (
          cmd: Command,
          opts?: Omit<SpawnOptionsWithoutStdio, "stdio" | "cwd">,
      ) => Promise<CommandResponse>
    • execCommandSync: (cmd: string, cwd?: string) => string
    • execShell: (commands: string | ShellCommand | ShellCommand[]) => Promise<void>
    • getCommandTrimResponse: (command: string) => Promise<null | string>