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<string | null>;} = ...
类型声明
-
-
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<string | null>
执行器