akiyosi.goneovim/osdepend/win.go

13 lines
168 B
Go
Raw Normal View History

2018-04-08 13:11:18 +09:00
// +build windows
package osdepend
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
}