mono/packages/commons/dist/lib/process/index.d.ts
2026-01-27 08:26:13 +01:00

19 lines
505 B
TypeScript

export declare enum STATUS {
OK = 0,
ERROR = 1,
PENDING = 2
}
export declare class Process {
binary: string;
cwd: string;
args: string;
buffer: string[];
constructor(options?: any);
optionsToString(options: any): string;
optionsToArray(options: any): string[];
exec(command: string, args?: string[]): Promise<any>;
}
export declare class Helper {
static run(cwd: any, cmd: string, args: string[], buffer?: string[], debug_stream?: boolean): Promise<any>;
}