From 9b423adb51404c7020bf6b03438a9981d64941f4 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 31 Oct 2013 17:13:12 +0800 Subject: [PATCH] add link for windows --- cmd/helper_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helper_windows.go b/cmd/helper_windows.go index ee3831442..852299b93 100644 --- a/cmd/helper_windows.go +++ b/cmd/helper_windows.go @@ -5,6 +5,6 @@ import ( ) func makeLink(oldPath, newPath string) error { - cmd := exec.Command("mklink", "/j", newPath, oldPath) + cmd := exec.Command("cmd", "/c", "mklink", "/j", newPath, oldPath) return cmd.Run() }