doc: clarify that any truthy value of shell is part of DEP0190

PR-URL: https://github.com/nodejs/node/pull/62249
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Antoine du Hamel committed 2026-04-10 14:52:23 +02:00
1 parent aad7b3cfca
commit 125bdbf504
1 file changed
+3 -2
+3 -2
View File
@@ -4104,7 +4104,7 @@ Type: Documentation-only
`process.features.tls_alpn`, `process.features.tls_ocsp`, and `process.features.tls_sni` are
deprecated, as their values are guaranteed to be identical to that of `process.features.tls`.
### DEP0190: Passing `args` to `node:child_process` `execFile`/`spawn` with `shell` option `true`
### DEP0190: Passing `args` to `node:child_process` `execFile`/`spawn` with `shell` option
<!-- YAML
changes:
@@ -4121,7 +4121,8 @@ changes:
Type: Runtime
When an `args` array is passed to [`child_process.execFile`][] or [`child_process.spawn`][] with the option
`{ shell: true }`, the values are not escaped, only space-separated, which can lead to shell injection.
`{ shell: true }` or `{ shell: '/path/to/shell' }`, the values are not escaped, only space-separated,
which can lead to shell injection.
### DEP0191: `repl.builtinModules`