MCPcopy Create free account
hub / github.com/Singular/Singular / serverAvailable

Method serverAvailable

Singular/LIB/surfex/ConfigFrame.java:347–360  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

345 }
346
347 public boolean serverAvailable() {
348 /*try {
349 Runtime r = Runtime.getRuntime();
350 Process p;
351 p = r.exec(surfPath.getText() + " testparameter");
352 surfPath.setBackground(Color.white);
353 return true;
354 } catch (Exception e1) {
355 // System.out.println(e1.toString());
356 surfPath.setBackground(Color.red);
357 return (false);
358 } */
359 return true;
360 }
361
362 public boolean impsurfAvailable() {
363 try {

Callers 1

ConfigFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected