public void Exit(int code) { Log.Info("Exiting"); _exitCallback(); }
private static void RunScript(string script, PSWrapper powerShell) { Log.InfoFormat("Executing script {0}", script); powerShell.TryExecute(". " + script); powerShell.Exit(0); }