private String content;
private int state;
public IScriptExecResult exec(String command) throws IOException {
InterpreterResponse response = protocol.execInterpreter(command);
state = response.getState();
return new ScriptExecResult(response.getContent());
}