From 792f34cb87af762e6f7f14e6ef0adea4cb834c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Z=C3=A1horsk=C3=BD?= Date: Fri, 2 Feb 2024 14:13:44 +0100 Subject: [PATCH] Ignore StdError, Fix anonymous1184#44 --- Lib/GetStdStream.ahk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/GetStdStream.ahk b/Lib/GetStdStream.ahk index d536bfa..b18dd6e 100644 --- a/Lib/GetStdStream.ahk +++ b/Lib/GetStdStream.ahk @@ -10,7 +10,8 @@ GetStdStream(CommandLine, Environment := "") NumPut(104, lpStartupInfo) ; STARTUPINFO size NumPut(0x100, lpStartupInfo, 60) ; dwFlags = STARTF_USESTDHANDLES NumPut(hPipeWrite, lpStartupInfo, 88) ; hStdOutput - NumPut(hPipeWrite, lpStartupInfo, 96) ; hStdError + ; Ignore StdError + ; NumPut(hPipeWrite, lpStartupInfo, 96) ; hStdError lpEnvironment := 0 if IsObject(Environment)