Commit 59814ac
doc: describe child.kill() pitfalls on linux
This commit refines the documentation around child.kill(), where kill
attempts against shells will lead to unexpected results. Namely, on
linux the child process of a child process will not terminate, when
its parent gets terminated. This is different across the the
platforms.
PR-URL: #2098
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Closes: #20981 parent 28040cc commit 59814acCopy full SHA for 59814ac
File tree
Expand file treeCollapse file tree
1 file changed
+24
-2
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+24
-2
lines changedOpen diff view settings
Collapse file
doc/api/child_process.markdown
Copy file name to clipboardExpand all lines: doc/api/child_process.markdown+24-2Lines changed: 24 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
750 | 750 | |
751 | 751 | |
752 | 752 | |
753 | | - |
| 753 | + |
| 754 | + |
| 755 | + |
| 756 | + |
| 757 | + |
| 758 | + |
| 759 | + |
| 760 | + |
| 761 | + |
| 762 | + |
| 763 | + |
| 764 | + |
| 765 | + |
| 766 | + |
| 767 | + |
| 768 | + |
| 769 | + |
| 770 | + |
| 771 | + |
| 772 | + |
| 773 | + |
| 774 | + |
| 775 | + |
754 | 776 | |
755 | 777 | |
756 | 778 | |
| ||
1007 | 1029 | |
1008 | 1030 | |
1009 | 1031 | |
1010 | | - |
| 1032 | + |
0 commit comments