MCPcopy Create free account
hub / github.com/TheCyaniteProject/exit_code_java / exeCommand

Method exeCommand

src/main/java/exitcode/Console.java:233–237  ·  view source on GitHub ↗

Executes the Command. First, checks if exePrivate() was able to run the command. If not, then runs exeGlobal(). This way, private commands overwrite global commands but private commands only exist in a single Console instance. @param input The command to run. @param termArea The JavaFX Label to

(String input, Label termArea, String body)

Source from the content-addressed store, hash-verified

231 * @see exitcode.Console#exeGlobal(String, Label, String)
232 */
233 private void exeCommand(String input, Label termArea, String body) {
234 if (!exePrivate(input, termArea, body)) {
235 exeGlobal(input, termArea, body);
236 }
237 }
238
239 /**
240 * Part of the function to execute a Command.

Callers 1

runCommandMethod · 0.95

Calls 2

exePrivateMethod · 0.95
exeGlobalMethod · 0.95

Tested by

no test coverage detected