From 7e88b0165ff6a4e4f11f106dfc2b1628970e3b85 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Thu, 14 Sep 2023 11:42:22 -0700 Subject: [PATCH] Improve condition --- src/client/common/process/rawProcessApis.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/common/process/rawProcessApis.ts b/src/client/common/process/rawProcessApis.ts index b848618029d0..23c2f3253bb1 100644 --- a/src/client/common/process/rawProcessApis.ts +++ b/src/client/common/process/rawProcessApis.ts @@ -257,7 +257,7 @@ export function execObservable( subscriber.error(ex); internalDisposables.forEach((d) => d.dispose()); }); - if (options.stdinStr) { + if (options.stdinStr !== undefined) { proc.stdin?.write(options.stdinStr); proc.stdin?.end(); }