10 lines
337 B
TypeScript
Executable File
10 lines
337 B
TypeScript
Executable File
/// <reference types="node" />
|
|
import * as cp from 'child_process';
|
|
export interface IForkOpts {
|
|
cwd?: string;
|
|
env?: any;
|
|
encoding?: string;
|
|
execArgv?: string[];
|
|
}
|
|
export declare function fork(modulePath: string, args: string[], options: IForkOpts, callback: (error: any, cp: cp.ChildProcess | undefined) => void): void;
|