vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2019-04-13 13:47:57 +01:00
parent 8190a81201
commit 613a9bb86b
448 changed files with 62205 additions and 13395 deletions

View file

@ -7,7 +7,7 @@ import (
"os/exec"
"path/filepath"
"strings"
"syscall"
// "syscall"
)
var (
@ -22,12 +22,12 @@ func cleaninput(input string) string {
func open(input string) *exec.Cmd {
cmd := exec.Command(runDll32, cmd, input)
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
//cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
return cmd
}
func openWith(input string, appName string) *exec.Cmd {
cmd := exec.Command("cmd", "/C", "start", "", appName, cleaninput(input))
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
//cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
return cmd
}