Merge pull request #5 from THUNDERGROOVE/master

Fix 'start' executable not found in %PATH%
This commit is contained in:
skratchdot 2014-05-12 23:40:22 -04:00
commit 1bdd1ce936
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ import (
) )
func open(input string) *exec.Cmd { func open(input string) *exec.Cmd {
return exec.Command("start", "", input) return exec.Command("cmd", "/C", "start", "", input)
} }
func openWith(input string, appName string) *exec.Cmd { func openWith(input string, appName string) *exec.Cmd {
return exec.Command("start", "", appName, input) return exec.Command("cmd", "/C", "start", "", appName, input)
} }