MCPcopy Create free account
hub / github.com/apache/mesos / system

Method system

src/examples/java/TestLog.java:103–109  ·  view source on GitHub ↗
(String command)

Source from the content-addressed store, hash-verified

101 }
102
103 private static int system(String command)
104 throws IOException, InterruptedException {
105 Runtime r = Runtime.getRuntime();
106 Process p = r.exec(command);
107 p.waitFor();
108 return p.exitValue();
109 }
110
111 private static void exit(int status) throws Exception {
112 if (zkserver != null) {

Callers 7

mainMethod · 0.95
_runMethod · 0.80
close_reviewsFunction · 0.80
verify_reviewFunction · 0.80
mainFunction · 0.80
fetch_patchFunction · 0.80
apply_patchFunction · 0.80

Calls 1

execMethod · 0.45

Tested by

no test coverage detected