public static interface Shell.OnCommandResultListener
| Modifier and Type | Method and Description |
|---|---|
void |
onCommandResult(int commandCode,
int exitCode,
java.util.List<java.lang.String> output)
Command result callback
|
void onCommandResult(int commandCode,
int exitCode,
java.util.List<java.lang.String> output)
Command result callback
Depending on how and on which thread the shell was created, this callback may be executed on one of the gobbler threads. In that case, it is important the callback returns as quickly as possible, as delays in this callback may pause the native process or even result in a deadlock
See Shell.Interactive for threading details
commandCode - Value previously supplied to addCommandexitCode - Exit code of the last command in the blockoutput - All output generated by the command block