Skip to content

Commit c8a381f

Browse files
authored
Fix Windows logging attachment (#870)
1 parent ca0794e commit c8a381f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

runner/util_windows.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ func (e *Engine) startCmd(cmd string) (*exec.Cmd, io.ReadCloser, io.ReadCloser,
5151
// Use -NoProfile and -NonInteractive for better performance
5252
c := exec.Command("powershell", "-NoProfile", "-NonInteractive", "-Command", cmd)
5353

54-
// Hide the PowerShell console window
55-
c.SysProcAttr = &syscall.SysProcAttr{
56-
HideWindow: true,
57-
CreationFlags: windows.CREATE_NO_WINDOW,
58-
}
59-
6054
stderr, err := c.StderrPipe()
6155
if err != nil {
6256
return nil, nil, nil, err

0 commit comments

Comments
 (0)