Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8314d9e

Browse filesBrowse files
thefourtheyeItalo A. Casas
authored andcommitted
doc: killSignal option accepts integer values
`killSignal` option accepts the signal name or signal number as well. PR-URL: #10424 Reviewed-By: Julian Duque <julianduquej@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
1 parent 736a7f3 commit 8314d9e
Copy full SHA for 8314d9e

File tree

Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed
Open diff view settings
Collapse file

‎doc/api/child_process.md‎

Copy file name to clipboardExpand all lines: doc/api/child_process.md
+8-8Lines changed: 8 additions & 8 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ added: v0.1.90
137137
* `timeout` {Number} (Default: `0`)
138138
* [`maxBuffer`][] {Number} largest amount of data (in bytes) allowed on
139139
stdout or stderr - if exceeded child process is killed (Default: `200*1024`)
140-
* `killSignal` {String} (Default: `'SIGTERM'`)
140+
* `killSignal` {String|Integer} (Default: `'SIGTERM'`)
141141
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
142142
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
143143
* `callback` {Function} called with the output when process terminates
@@ -214,7 +214,7 @@ added: v0.1.91
214214
* `timeout` {Number} (Default: `0`)
215215
* [`maxBuffer`][] {Number} largest amount of data (in bytes) allowed on
216216
stdout or stderr - if exceeded child process is killed (Default: `200*1024`)
217-
* `killSignal` {String} (Default: `'SIGTERM'`)
217+
* `killSignal` {String|Integer} (Default: `'SIGTERM'`)
218218
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
219219
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
220220
* `callback` {Function} called with the output when process terminates
@@ -591,8 +591,8 @@ added: v0.11.12
591591
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
592592
* `timeout` {Number} In milliseconds the maximum amount of time the process
593593
is allowed to run. (Default: `undefined`)
594-
* `killSignal` {String} The signal value to be used when the spawned process
595-
will be killed. (Default: `'SIGTERM'`)
594+
* `killSignal` {String|Integer} The signal value to be used when the spawned
595+
process will be killed. (Default: `'SIGTERM'`)
596596
* [`maxBuffer`][] {Number} largest amount of data (in bytes) allowed on
597597
stdout or stderr - if exceeded child process is killed
598598
* `encoding` {String} The encoding used for all stdio inputs and outputs. (Default: `'buffer'`)
@@ -633,8 +633,8 @@ added: v0.11.12
633633
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
634634
* `timeout` {Number} In milliseconds the maximum amount of time the process
635635
is allowed to run. (Default: `undefined`)
636-
* `killSignal` {String} The signal value to be used when the spawned process
637-
will be killed. (Default: `'SIGTERM'`)
636+
* `killSignal` {String|Integer} The signal value to be used when the spawned
637+
process will be killed. (Default: `'SIGTERM'`)
638638
* [`maxBuffer`][] {Number} largest amount of data (in bytes) allowed on
639639
stdout or stderr - if exceeded child process is killed
640640
* `encoding` {String} The encoding used for all stdio inputs and outputs.
@@ -675,8 +675,8 @@ added: v0.11.12
675675
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
676676
* `timeout` {Number} In milliseconds the maximum amount of time the process
677677
is allowed to run. (Default: `undefined`)
678-
* `killSignal` {String} The signal value to be used when the spawned process
679-
will be killed. (Default: `'SIGTERM'`)
678+
* `killSignal` {String|Integer} The signal value to be used when the spawned
679+
process will be killed. (Default: `'SIGTERM'`)
680680
* [`maxBuffer`][] {Number} largest amount of data (in bytes) allowed on
681681
stdout or stderr - if exceeded child process is killed
682682
* `encoding` {String} The encoding used for all stdio inputs and outputs.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.