public void GracefulShutdown()
        {
            var file = File.Create(ShutdownTriggerPath);

            RubyProc.WaitForExit();
            RubyProc.Close();
            file.Close();
            File.Delete(ShutdownTriggerPath);
        }
Exemplo n.º 2
0
 public void KillRubyProcess()
 {
     RubyProc.Kill();
 }