12 lines
397 B
TypeScript
12 lines
397 B
TypeScript
export declare class AbstractRunner {
|
|
protected binary: string;
|
|
protected args: string[];
|
|
constructor(binary: string, args?: string[]);
|
|
run(command: string, collect?: boolean, cwd?: string): Promise<null | string>;
|
|
/**
|
|
* @param command
|
|
* @returns The entire command that will be ran when calling `run(command)`.
|
|
*/
|
|
rawFullCommand(command: string): string;
|
|
}
|