@plugjs/plug
Version:
PlugJS Build System ===================
14 lines (13 loc) • 648 B
TypeScript
import type { Context } from '../pipe';
/** Options for executing scripts */
export interface ExecChildOptions {
/** Specify the directory where coverage data will be saved */
coverageDir?: string;
/** Extra environment variables, or overrides for existing ones */
env?: Record<string, any>;
/** Whether to run the command in a shell (optionally name the shell) */
shell?: string | boolean;
/** The current working directory of the process to execute. */
cwd?: string;
}
export declare function execChild(cmd: string, args: readonly string[], options: ExecChildOptions | undefined, context: Context): Promise<void>;