MCPcopy Create free account
hub / github.com/ReadyTalk/avian / exec

Method exec

classpath/java/lang/Runtime.java:46–53  ·  view source on GitHub ↗
(String command)

Source from the content-addressed store, hash-verified

44 }
45
46 public Process exec(String command) throws IOException {
47 StringTokenizer t = new StringTokenizer(command);
48 String[] cmd = new String[t.countTokens()];
49 for (int i = 0; i < cmd.length; i++)
50 cmd[i] = t.nextToken();
51
52 return exec(cmd);
53 }
54
55 public Process exec(final String[] command) throws IOException {
56 final MyProcess[] process = new MyProcess[1];

Callers 3

mainMethod · 0.95
runMethod · 0.95
mainMethod · 0.80

Calls 6

countTokensMethod · 0.95
nextTokenMethod · 0.95
setDaemonMethod · 0.95
startMethod · 0.95
waitMethod · 0.45
getMessageMethod · 0.45

Tested by 2

mainMethod · 0.76
mainMethod · 0.64