Files
node/doc/api
Kit Dallege fb078ad8c1 doc: remove spawn with shell example from bat/cmd section
Remove the suggestion to use child_process.spawn() with the shell
option set for running .bat and .cmd files on Windows. Passing
arguments through spawn with shell: true is deprecated (DEP0190)
due to shell injection risks. Keep the exec() and direct cmd.exe
spawn alternatives.

Fixes: https://github.com/nodejs/node/issues/58735
PR-URL: https://github.com/nodejs/node/pull/62243
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
2026-07-19 17:30:56 -05:00
..
2026-07-19 17:30:50 -05:00
2025-08-04 13:29:03 +02:00
2024-11-27 11:03:27 -05:00
2026-02-24 08:38:53 +01:00
2026-02-24 00:36:43 +01:00
2026-02-24 08:38:53 +01:00
2026-02-24 00:36:42 +01:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2026-02-24 00:36:28 +01:00
2025-01-05 12:57:23 -05:00
2025-08-04 13:29:03 +02:00
2025-08-04 13:29:03 +02:00
2026-02-24 08:38:53 +01:00
2026-02-24 08:38:55 +01:00
2026-07-19 17:30:53 -05:00
2026-02-24 08:38:53 +01:00
2026-02-24 08:38:53 +01:00