Fix Windows git command console flashing (#897)

This commit is contained in:
Mohamed Boudra
2026-05-10 19:46:25 +08:00
committed by GitHub
parent d75d2d857d
commit 3b7971a463
5 changed files with 47 additions and 0 deletions
+1
View File
@@ -62,6 +62,7 @@ function resolveShellEnv(): Record<string, string> | undefined {
const result = spawnSync(shell, [...shellArgs, command], {
encoding: "utf8",
timeout: RESOLVE_TIMEOUT_MS,
windowsHide: true,
env: {
...shellEnv,
ELECTRON_RUN_AS_NODE: "1",