Exemplo n.º 1
0
 private BoltStubServer(string script, int port)
 {
     _commandRunner = ShellCommandRunnerFactory.Create();
     //_commandRunner.BeginRunCommand("bolt", "stub", "-l", "127.0.0.1:" + port.ToString(), "-v", script);
     _commandRunner.BeginRunCommand("boltstub", "-v", port.ToString(), "-v", script);
     WaitForServer(port);
 }
 private BoltStubServer(string script, int port)
 {
     _commandRunner = ShellCommandRunnerFactory.Create();
     _commandRunner.BeginRunCommand("boltstub", port.ToString(), script);
     _port = port;
     WaitForServer(_port);
 }