Ejemplo n.º 1
0
 static void Main(string[] args) {
     try {
         JumpActionsManagerClient client = new JumpActionsManagerClient();
         client.Run(args, s => Process.Start(s));
     } catch(Exception e) {
         new ThreadExceptionDialog(e).ShowDialog();
     }
 }
 public void SetUp() {
     applicationID = Guid.NewGuid().ToString();
     TestProcess.AddApplication("launcher.exe", p => {
         using(JumpActionsManagerClient client = new JumpActionsManagerClient(MillisecondsTimeout, p)) {
             GC.SuppressFinalize(client);
             client.Run(p.CommandLineArgs.Skip(1).ToArray(), s => new TestProcess(applicationID, this, s, p.ProcessID + " launcher").Start());
         }
     });
 }
 public void SetUp() {
     TestProcess.AddApplication("launcher.exe", p => {
         JumpActionsManagerClient client = new JumpActionsManagerClient(MillisecondsTimeout);
         client.Run(p.CommandLineArgs.Skip(1).ToArray(), s => new TestProcess(this, s).Start());
     });
 }
 public static void Run(string[] args) {
     JumpActionsManagerClient client = new JumpActionsManagerClient();
     client.Run(args, s => Process.Start(s));
 }