aws-cdk
Version:
AWS CDK Toolkit CLI, the command line tool for CDK apps
10 lines (9 loc) • 361 B
TypeScript
import type { IoHelper } from '../../api-private';
/**
* OS helpers
*
* Executes the given command (argv array, never through a shell) while both
* printing its stdout in real-time and collecting it into the returned
* string. stderr goes straight to the terminal.
*/
export declare function shell(ioHelper: IoHelper, command: string[]): Promise<string>;