add detached to ForkOptions (#33818)

* add detached to ForkOptions

* update v10

* update definition of ForkOptions for node v11

* update for v9
This commit is contained in:
Andrew
2019-03-12 16:33:32 -07:00
committed by Wesley Wigham
parent 3968316064
commit b9a3c70030
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -264,6 +264,7 @@ declare module "child_process" {
execArgv?: string[];
silent?: boolean;
stdio?: StdioOptions;
detached?: boolean;
windowsVerbatimArguments?: boolean;
}
function fork(modulePath: string, args?: ReadonlyArray<string>, options?: ForkOptions): ChildProcess;
+1
View File
@@ -258,6 +258,7 @@ declare module "child_process" {
execArgv?: string[];
silent?: boolean;
stdio?: StdioOptions;
detached?: boolean;
windowsVerbatimArguments?: boolean;
uid?: number;
gid?: number;
+1
View File
@@ -2259,6 +2259,7 @@ declare module "child_process" {
execArgv?: string[];
silent?: boolean;
stdio?: any[];
detached?: boolean;
uid?: number;
gid?: number;
windowsVerbatimArguments?: boolean;
+1
View File
@@ -2669,6 +2669,7 @@ declare module "child_process" {
execArgv?: string[];
silent?: boolean;
stdio?: any[];
detached?: boolean;
uid?: number;
gid?: number;
windowsVerbatimArguments?: boolean;