示例#1
0
 public void Fork()
 {
     using (var runner = new ProgramRunner())
     {
         mainExecuted = false;
         runner.Fork(Main, "fork");
         runner.TerminateFork();
         Assert.True(mainExecuted);
     }
 }