GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: add Windows-specific info to subprocess.kill() · nodejs/node@35a382e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • child_process.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/child_process.md‎

Copy file name to clipboardExpand all lines: doc/api/child_process.md
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,11 @@ may not actually terminate the process.
12031203

12041204
See kill(2) for reference.
12051205

1206+
On Windows, where POSIX signals do not exist, the `signal` argument will be
1207+
ignored, and the process will be killed forcefully and abruptly (similar to
1208+
`'SIGKILL'`).
1209+
See [Signal Events][] for more details.
1210+
12061211
On Linux, child processes of child processes will not be terminated
12071212
when attempting to kill their parent. This is likely to happen when running a
12081213
new process in a shell or with the use of the `shell` option of `ChildProcess`:
@@ -1667,6 +1672,7 @@ or [`child_process.fork()`][].
16671672
[Default Windows shell]: #child_process_default_windows_shell
16681673
[HTML structured clone algorithm]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
16691674
[Shell requirements]: #child_process_shell_requirements
1675+
[Signal Events]: process.md#process_signal_events
16701676
[`'disconnect'`]: process.md#process_event_disconnect
16711677
[`'error'`]: #child_process_event_error
16721678
[`'exit'`]: #child_process_event_exit

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.