void execute_command(Command command)
{
try {
if (repeating)
command.Repeat (Interpreter);
else
command.Execute (Interpreter);
} catch (ST.ThreadAbortException) {
} catch (ScriptingException ex) {
Interpreter.Error (ex);
} catch (TargetException ex) {
Interpreter.Error (ex);
} catch (Exception ex) {
Interpreter.Error (
"Caught exception while executing command {0}: {1}",
this, ex);
}
}