no message
This commit is contained in:
@@ -48,7 +48,7 @@ public class Precompilation extends Pass_2021<db_project_info> {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
target = Current.getProject();
|
||||
if (Global.isWindows) {
|
||||
if (CommonUtils.isWindows) {
|
||||
//--
|
||||
makepath = Global.db.settings.get(SettingName.LocalMakePathWindows).toString();
|
||||
if (makepath.isEmpty()) {
|
||||
@@ -184,7 +184,7 @@ public class Precompilation extends Pass_2021<db_project_info> {
|
||||
}
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
if (Global.isWindows) {
|
||||
if (CommonUtils.isWindows) {
|
||||
name_to_kill = "make.exe";
|
||||
StartProcess(CommonUtils.DQuotes(Global.db.settings.get(SettingName.LocalMakePathWindows).Value) + " -j " + Global.db.settings.get(SettingName.Kernels).toString(),
|
||||
target.compilation_maxtime);
|
||||
@@ -246,7 +246,7 @@ public class Precompilation extends Pass_2021<db_project_info> {
|
||||
}
|
||||
@Override
|
||||
public void Interrupt() throws Exception {
|
||||
if (Global.isWindows) {
|
||||
if (CommonUtils.isWindows) {
|
||||
if (!name_to_kill.isEmpty()) {
|
||||
killed = true;
|
||||
Process killer = Runtime.getRuntime().exec("taskkill /FI \"IMAGENAME eq " + name_to_kill + "\" /F /T");
|
||||
|
||||
Reference in New Issue
Block a user