forked from mirror/open-golang
Fixing #9 - not replacing ampersand in calls to rundll32
This commit is contained in:
parent
c8748311a7
commit
aeb1cab633
|
@ -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