commandFactory = CommandFactory::getInstance();
-
//redirect output
if ((output == "clear") || (output == "")) { output = ""; commandFactory->setOutputDirectory(output); }
else {
return 0;
}
catch(exception& e) {
- m->errorOut(e, "SetDirectoryCommand", "SetDirectoryCommand");
+ m->errorOut(e, "SetDirectoryCommand", "execute");
exit(1);
}
}