8 lines
260 B
TypeScript
8 lines
260 B
TypeScript
|
/// <reference types="node" />
|
||
|
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>;
|