From aeb1cab633c5e78e9a867c68c9a48933c2caac74 Mon Sep 17 00:00:00 2001 From: Lawrence Craft Date: Wed, 2 Mar 2016 13:33:19 +0000 Subject: [PATCH] Fixing #9 - not replacing ampersand in calls to rundll32 --- open/exec_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open/exec_windows.go b/open/exec_windows.go index 3ad667d..2d93617 100644 --- a/open/exec_windows.go +++ b/open/exec_windows.go @@ -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 {