summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util_windows.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/util/util_windows.go b/src/util/util_windows.go
index 86409fde..67b70318 100644
--- a/src/util/util_windows.go
+++ b/src/util/util_windows.go
@@ -3,6 +3,7 @@
package util
import (
+ "fmt"
"os"
"os/exec"
"syscall"
@@ -18,9 +19,9 @@ func ExecCommand(command string) *exec.Cmd {
func ExecCommandWith(_shell string, command string) *exec.Cmd {
cmd := exec.Command("cmd")
cmd.SysProcAttr = &syscall.SysProcAttr{
- HideWindow: false,
- CmdLine: fmt.Sprintf(` /s /c "%s"`, command),
- CreationFlags: 0,
+ HideWindow: false,
+ CmdLine: fmt.Sprintf(` /s /c "%s"`, command),
+ CreationFlags: 0,
}
return cmd
}