(
cmd: string,
args: string[],
options: ExecOptions = {},
)
| 90 | } |
| 91 | |
| 92 | export async function runCmd( |
| 93 | cmd: string, |
| 94 | args: string[], |
| 95 | options: ExecOptions = {}, |
| 96 | ): Promise<ExecResult> { |
| 97 | const overrideResult = commandExecutorOverrideScope.getStore()?.(cmd, args, options); |
| 98 | if (overrideResult) return await overrideResult; |
| 99 | return await runSpawnedCommand(cmd, args, options); |
| 100 | } |
| 101 | |
| 102 | export async function runCmdStreaming( |
| 103 | cmd: string, |