Example #1
0
        private void StartNode(StressTestNode node)
        {
            string args = "StartConsensus port=" + node.Port;
            var    proc = System.Diagnostics.Process.Start(node.ApplicationFolder + "/DEXR.exe", args);

            node.Process = proc;
            node.Status  = "Started";
        }
Example #2
0
 private void StopNode(StressTestNode node)
 {
     if (node.Status == "Started")
     {
         node.Process.CloseMainWindow();
         node.Process.Close();
         node.Status = "Stopped";
     }
 }