Skip to content

Commit

Permalink
Add unref() to child_process.ChildProcess
Browse files Browse the repository at this point in the history
child_process.ChildProcess.unref() isn't described in document.
But it actually exist and is described in document for `options.detached`.

https://nodejs.org/api/child_process.html#child_process_options_detached
  • Loading branch information
rhysd committed Jul 29, 2015
1 parent 855569d commit ded31ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node/node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,7 @@ declare module "child_process" {
kill(signal?: string): void;
send(message: any, sendHandle?: any): void;
disconnect(): void;
unref(): void;
}

export function spawn(command: string, args?: string[], options?: {
Expand Down

0 comments on commit ded31ee

Please sign in to comment.