Merge pull request #7240 from rogierschouten/node-childprocess-fork-opts

Add all options to child_process.fork()
This commit is contained in:
Horiuchi_H
2015-12-22 19:14:45 +09:00

6
node/node.d.ts vendored
View File

@@ -907,7 +907,11 @@ declare module "child_process" {
export function fork(modulePath: string, args?: string[], options?: {
cwd?: string;
env?: any;
encoding?: string;
execPath?: string;
execArgv?: string[];
silent?: boolean;
uid?: number;
gid?: number;
}): ChildProcess;
export function spawnSync(command: string, args?: string[], options?: {
cwd?: string;