sudo-prompt/index.d.ts
2019-12-18 19:16:05 +01:00

4 lines
318 B
TypeScript

export function exec(cmd: string,
options?: ((error?: Error, stdout?: string | Buffer, stderr?: string | Buffer) => void)
| { name?: string, icns?: string, env?: { [key: string]: string } },
callback?: (error?: Error, stdout?: string | Buffer, stderr?: string | Buffer) => void): void;