From 0524bad90c715724926f665e002c420aa7bedd31 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 17 Sep 2014 15:35:54 +0800 Subject: [PATCH] . --- editor/editors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editors.go b/editor/editors.go index d2be93e..e879e04 100644 --- a/editor/editors.go +++ b/editor/editors.go @@ -143,7 +143,7 @@ func AutocompleteHandler(w http.ResponseWriter, r *http.Request) { gocode := conf.Wide.GetGocode() argv := []string{"set", "lib-path", libPath} cmd := exec.Command(gocode, argv...) - cmd.Start() + cmd.Run() //gocode 试验性质特性:自动构建 //argv = []string{"set", "autobuild", "true"}