@saashub/qoq-utils
Version:
9 lines (8 loc) • 415 B
TypeScript
import { CommonSpawnOptions } from 'child_process';
export declare enum EExitCode {
OK = 0,
ERROR = 1,
EXCEPTION = 2
}
export declare function executeCommand(command: string, args?: string[], stdio?: CommonSpawnOptions['stdio']): Promise<EExitCode>;
export declare function executeCommand(command: string, args?: string[], stdio?: CommonSpawnOptions['stdio'], captureOutput?: boolean): Promise<string>;