Open 8LWXpg opened 3 months ago
Fix #128
I simply compare util_windows.go with util_unix.go, and setting c.Stdout, c.Stderr seems to have resolve this issue.
util_windows.go
util_unix.go
c.Stdout
c.Stderr
A question for this code: Returning stdout and stderr then io.Copy seems redundant, since setting c.Stdout = os.Stdout and c.Stderr = os.Stderr basically does the same thing. Is there reason for this?
stdout
stderr
io.Copy
c.Stdout = os.Stdout
c.Stderr = os.Stderr
Fix #128
I simply compare
util_windows.go
withutil_unix.go
, and settingc.Stdout
,c.Stderr
seems to have resolve this issue.Screenshot