public ShellProcess createProcess(String request) {
log.log(Level.FINE, "Invoking request " + request);
String trimmedRequest = request.trim();
final StringBuilder msg = new StringBuilder();
final ShellResponse response;
if ("bye".equals(trimmedRequest) || "exit".equals(trimmedRequest)) {
response = ShellResponse.close();
} else {
ReplResponse r = repl.eval(this, request);
if (r instanceof ReplResponse.Response) {