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 125bdbf

Browse filesBrowse files
committed
doc: clarify that any truthy value of shell is part of DEP0190
PR-URL: #62249 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent aad7b3c commit 125bdbf
Copy full SHA for 125bdbf

1 file changed

+3-2Lines changed: 3 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+3-2Lines changed: 3 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4104,7 +4104,7 @@ Type: Documentation-only
41044104
`process.features.tls_alpn`, `process.features.tls_ocsp`, and `process.features.tls_sni` are
41054105
deprecated, as their values are guaranteed to be identical to that of `process.features.tls`.
41064106

4107-
### DEP0190: Passing `args` to `node:child_process` `execFile`/`spawn` with `shell` option `true`
4107+
### DEP0190: Passing `args` to `node:child_process` `execFile`/`spawn` with `shell` option
41084108

41094109
<!-- YAML
41104110
changes:
@@ -4121,7 +4121,8 @@ changes:
41214121
Type: Runtime
41224122

41234123
When an `args` array is passed to [`child_process.execFile`][] or [`child_process.spawn`][] with the option
4124-
`{ shell: true }`, the values are not escaped, only space-separated, which can lead to shell injection.
4124+
`{ shell: true }` or `{ shell: '/path/to/shell' }`, the values are not escaped, only space-separated,
4125+
which can lead to shell injection.
41254126

41264127
### DEP0191: `repl.builtinModules`
41274128

0 commit comments

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