From 22997bee704f7d14033b5a1972d3811ad65e576c Mon Sep 17 00:00:00 2001 From: Rogier Schouten Date: Thu, 17 Dec 2015 11:40:40 +0100 Subject: [PATCH] Add all options to child_process.fork() https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options --- node/node.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/node/node.d.ts b/node/node.d.ts index 879b20d894..dfc3cff111 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -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;