Command results are not printed anymore unless they are strings
@@ -457,7 +457,7 @@ public class ConsoleSessionImpl implements Session {
private void doExecute(CharSequence command) {
try {
Object result = session.execute(command);
- if (result instanceof String) {
+ if (result != null) {
session.getConsole().println(session.format(result, Converter.INSPECT));
}
} catch (InterruptedException e) {
