system_assignation/node_modules/sudo-prompt/index.d.ts

5 lines
318 B
TypeScript
Raw Normal View History

2022-03-24 09:22:39 -04:00
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;