public void GracefulShutdown() { var file = File.Create(ShutdownTriggerPath); RubyProc.WaitForExit(); RubyProc.Close(); file.Close(); File.Delete(ShutdownTriggerPath); }
public void KillRubyProcess() { RubyProc.Kill(); }