forked from mirror/open-golang
Merge pull request #10 from lawrencecraft/master
Fixing #9 - not replacing ampersand in calls to rundll32
This commit is contained in:
commit
75fb7ed420
|
@ -20,7 +20,7 @@ func cleaninput(input string) string {
|
|||
}
|
||||
|
||||
func open(input string) *exec.Cmd {
|
||||
return exec.Command(runDll32, cmd, cleaninput(input))
|
||||
return exec.Command(runDll32, cmd, input)
|
||||
}
|
||||
|
||||
func openWith(input string, appName string) *exec.Cmd {
|
||||
|
|
Loading…
Reference in New Issue