@routineless/nx-aws-cdk
Version:
Nx plugin for AWS CDK
18 lines (17 loc) • 631 B
TypeScript
/// <reference types="node" />
/// <reference types="node" />
import { Stream } from 'stream';
export type Stdio = 'inherit' | 'ignore' | Stream | 'pipe' | 'overlapped' | undefined | null;
export interface CommandOptions {
stdio?: [Stdio, Stdio, Stdio];
}
export interface Command {
command: string;
cwd?: string;
}
export interface ProcessExitInfo {
code: number;
signal: NodeJS.Signals | null;
}
export declare const runCommandsInParralel: (commands: Command[]) => Promise<ProcessExitInfo[]>;
export declare const runCommand: (executionCommand: Command, options?: CommandOptions) => Promise<ProcessExitInfo>;