예제 #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);
		}
예제 #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);
        }
예제 #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());
			}
		}
예제 #4
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());
            }
        }