diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2018-01-17 08:02:50 -0500 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2018-01-17 22:02:50 +0900 |
commit | 7f0caf06833130727b238a2afeb58f3b5096a34c (patch) | |
tree | 4d27065fc38c6d1c597a4084bf4325f86c1275d7 /src/util | |
parent | 7f606665cbfa2334057d0c5be75b98e2b4e06016 (diff) |
Update Windows default command to print relative paths (#1200)
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/util_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util_windows.go b/src/util/util_windows.go index 67b70318..41a9a5c7 100644 --- a/src/util/util_windows.go +++ b/src/util/util_windows.go @@ -20,7 +20,7 @@ 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), + CmdLine: fmt.Sprintf(` /v:on/s/c "%s"`, command), CreationFlags: 0, } return cmd |