mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 12:33:17 +08:00
Merge pull request #7240 from rogierschouten/node-childprocess-fork-opts
Add all options to child_process.fork()
This commit is contained in:
6
node/node.d.ts
vendored
6
node/node.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user