Skip to content

Commit

Permalink
Ignore StdError, Fix anonymous1184#44
Browse files Browse the repository at this point in the history
  • Loading branch information
toamz committed Feb 2, 2024
1 parent e55cca1 commit 792f34c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/GetStdStream.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 792f34c

Please sign in to comment.