From 174a0f70dfbd41ca124131c417ce7b97639870bd Mon Sep 17 00:00:00 2001 From: pfg Date: Wed, 26 Feb 2025 20:47:49 -0800 Subject: [PATCH] return null rather than process.stdin on child process (#17741) --- src/js/node/child_process.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/node/child_process.ts b/src/js/node/child_process.ts index a94dfa43b1..e4e5793883 100644 --- a/src/js/node/child_process.ts +++ b/src/js/node/child_process.ts @@ -1134,7 +1134,7 @@ class ChildProcess extends EventEmitter { return require("internal/fs/streams").writableFromFileSink(stdin); } case "inherit": - return process.stdin || null; + return null; case "destroyed": return new ShimmedStdin(); default: