akiyosi.goneovim/util/util_win.go

13 lines
164 B
Go
Raw Normal View History

2018-04-08 13:11:18 +09:00
// +build windows
2019-03-05 23:09:22 +09:00
package util
2018-04-08 13:11:18 +09:00
import (
"os/exec"
2018-04-30 16:58:26 +09:00
"syscall"
2018-04-08 13:11:18 +09:00
)
func PrepareRunProc(cmd *exec.Cmd) {
2018-04-30 16:58:26 +09:00
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
2018-04-08 13:11:18 +09:00
}