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

            RubyProc.WaitForExit();
            RubyProc.Close();
            file.Close();
            File.Delete(ShutdownTriggerPath);
        }
예제 #2
0
 public void KillRubyProcess()
 {
     RubyProc.Kill();
 }