2025-06-30 09:38:03 +08:00

7 lines
229 B
TypeScript

import { SpawnOptions } from 'child_process';
export interface SpawnResult {
code: number | null;
output: string;
}
export declare const spawn: (cmd: string, args?: string[], opts?: SpawnOptions) => Promise<SpawnResult>;