UNPKG

@ts-dev-tools/core

Version:
9 lines (8 loc) 295 B
import { type ExecException } from "node: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>;