Révision 3792

TXM/trunk/bundles/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/RStatsEngine.java (revision 3792)
179 179
					String execName = RPreferences.getInstance().getString(RPreferences.PATH_TO_EXECUTABLE);
180 180
					File f = new File(execName);
181 181
					// only use taskkill if the process is running
182
					String cmd = NLS.bind("tasklist | find /i \""+f.getName()+"\" && taskkill /IM {0} /F", f.getName()); //$NON-NLS-1$
182
					String cmd = "tasklist | find /i \""+f.getName()+"\" && taskkill /IM "+f.getName()+" /F"; //$NON-NLS-1$
183 183
					//String cmd = "cmd /c FOR /F \"tokens=5 delims= \" %P IN ('netstat -ano ^| findstr :6330 ^| findstr LISTENING') DO taskkill /F /PID %P"; //$NON-NLS-1$
184 184
					Log.finest("Executing command: " + cmd);
185 185

  

Formats disponibles : Unified diff