public int Run(IList<string> commandLineArguments)
{
try {
ParseArguments(commandLineArguments);
return !memory.HasItem<AppDomainSetup>()
? RunInCurrentDomain()
: RunInNewDomain(memory.GetItem<AppDomainSetup>(), commandLineArguments);
}
catch (System.Exception e) {
progressReporter.Write(string.Format("{0}\n", e));
return 1;
}
}