SIGN IN SIGN UP
denoland / deno UNCLAIMED

A modern runtime for JavaScript and TypeScript.

0 0 2 Rust

fix(ext/node): handle shell redirections in child_process exec (#32087)

When child_process.exec() runs a shell command like "deno" "script.js" <
"input.txt", transformDenoShellCommand failed to add run -A because
shell redirections (<, >, |) were included in the args passed to the CLI
parser, triggering the metacharacter safety bail-out.


Enables node_compat tests: test-stdin-from-file.js and
test-stdin-from-file-spawn.js.
F
Felipe Cardozo committed
964288509b72a5f4217f61bb85e104f41ef09c24
Parent: e64ffe6
Committed by GitHub <noreply@github.com> on 2/19/2026, 5:48:40 PM