UNPKG

@baseplate-dev/sync

Version:

Library for syncing Baseplate descriptions

26 lines 660 B
interface ExecOptions { /** * The working directory to run the command in. */ cwd?: string; /** * The timeout to use for the command. */ timeout?: number; /** * The environment variables to use for the command. */ env?: Record<string, string>; /** * The abort signal to use for cancelling the command. */ abortSignal?: AbortSignal; } interface ExecuteCommandResult { failed: boolean; exitCode?: number; output: string; } export declare function executeCommand(command: string, options: ExecOptions): Promise<ExecuteCommandResult>; export {}; //# sourceMappingURL=exec.d.ts.map