quan-xie / goclipse

Automatically exported from code.google.com/p/goclipse
0 stars 0 forks source link

Gocode Plugin failed to kill gocode process on Windows XP home Edition #141

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Startup goeclipse with gocode enabled
2. In the error log, it will show "Cannot run program "TASKKILL": Create 
Process erro=2, ϵͳÕҲ»µ½ָ¶

What is the expected output? What do you see instead?
Cannot run program "TASKKILL": Create Process erro=2, ϵͳÕҲ»µ½ָ¶

What version of the product are you using? On what operating system?
Windows XP home edition service pack 3.
GoClipse 0.7.6.v439 with Juno Service Release 2

Please provide any additional information below.
This problem is due to the fact that Windows XP home edition does not come with 
Taskkill.exe on default (though the professional edition has it). But it does 
have an alternative: tskill.exe. 

I am thinking of modifying
package com.googlecode.goclipse.gocode
GocodePlugin.winGocodeKill() method, if attempt to use taskkill.exe failed, try 
to use tskill.exe gocode before throwing the error status.

Original issue reported on code.google.com by weidong...@gmail.com on 19 Mar 2013 at 12:15