| 6 | import { leetCodeChannel } from "../leetCodeChannel"; |
| 7 | |
| 8 | interface IExecError extends Error { |
| 9 | result?: string; |
| 10 | } |
| 11 | |
| 12 | export 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 => { |
nothing calls this directly
no outgoing calls
no test coverage detected