if (this.lock!=lock) throw new SmartFrogException( runProcess.toString() + " failed to execute '"+command.toString()+"': Wrong lock. "); boolean previousVerbose = verbose; verbose(verbose,lock);  closeResults(command, true, 0); ScriptResults res =  this.results; runProcess.execCommand(command);  closeResults(command, false, 0); return res;
return execute (command,lock,false);
  public ScriptResults execute(String command, ScriptLock lock) throws SmartFrogException {    if (this.lock!=lock) throw new SmartFrogException( runProcess.toString() + " failed to execute '"+command.toString()+"': Wrong lock. ");    boolean previousVerbose = verbose;    verbose(verbose,lock);    //Close results blocking    closeResults(command, true, 0);    ScriptResults res =  this.results;    runProcess.execCommand(command);    //Finish resulSet    closeResults(command, false, 0);    return res;  }