Update Windows default command to print relative paths (#1200)

This commit is contained in:
Jan Edmund Lazo
2018-01-17 22:02:50 +09:00
committed by Junegunn Choi
parent 7f606665cb
commit 7f0caf0683
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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