Example #1
0
		public void Run()
		{
			SvcUtilMessageView.ClearText();
			
			var commandLine = new SvcUtilCommandLine(Options);
			commandLine.Command = GetSvcUtilPath();
			SvcUtilMessageView.AppendLine(commandLine.ToString());
			ProcessRunner runner = CreateProcessRunner();
			runner.Start(commandLine.Command, commandLine.Arguments);
		}
Example #2
0
        public void Run()
        {
            SvcUtilMessageView.ClearText();

            var commandLine = new SvcUtilCommandLine(Options);

            commandLine.Command = GetSvcUtilPath();
            SvcUtilMessageView.AppendLine(commandLine.ToString());
            ProcessRunner runner = CreateProcessRunner();

            runner.Start(commandLine.Command, commandLine.Arguments);
        }
Example #3
0
		public async void Run()
		{
			SvcUtilMessageView.ClearText();
			
			var commandLine = new SvcUtilCommandLine(Options);
			commandLine.Command = GetSvcUtilPath();
			using (ProcessRunner processRunner = new ProcessRunner()) {
				this.ExitCode = await processRunner.RunInOutputPadAsync(SvcUtilMessageView.Category, commandLine.Command, commandLine.GetArguments());
			}
			if (ProcessExited != null) {
				ProcessExited(this, new EventArgs());
			}
		}
        public async void Run()
        {
            SvcUtilMessageView.ClearText();

            var commandLine = new SvcUtilCommandLine(Options);

            commandLine.Command = GetSvcUtilPath();
            using (ProcessRunner processRunner = new ProcessRunner()) {
                this.ExitCode = await processRunner.RunInOutputPadAsync(SvcUtilMessageView.Category, commandLine.Command, commandLine.GetArguments());
            }
            if (ProcessExited != null)
            {
                ProcessExited(this, new EventArgs());
            }
        }