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)
| 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. |
no test coverage detected