smartshell/dist/index.d.ts

9 lines
323 B
TypeScript

export interface IExecResult {
exitCode: number;
stdout: string;
}
export declare let exec: (commandStringArg: string) => Promise<IExecResult>;
export declare let execSilent: (commandStringArg: string) => Promise<IExecResult>;
export declare let execSync: () => void;
export declare let execSyncSilent: () => void;