UNPKG

@ts-dev-tools/core

Version:
9 lines (8 loc) 285 B
import { ExecException } from "child_process"; export declare function exec(cwd: string, cmd: string): Promise<{ code: number; error: ExecException | null; stdout: string; stderr: string; }>; export declare function safeExec(cwd: string, cmd: string): Promise<string>;