MCPcopy Index your code
hub / github.com/LeetCode-OpenSource/vscode-leetcode / IExecError

Interface IExecError

src/utils/cpUtils.ts:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { leetCodeChannel } from "../leetCodeChannel";
7
8interface IExecError extends Error {
9 result?: string;
10}
11
12export async function executeCommand(command: string, args: string[], options: cp.SpawnOptions = { shell: true }): Promise<string> {
13 return new Promise((resolve: (res: string) => void, reject: (e: Error) => void): void => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected