Esempio n. 1
0
        public void Run(MsBuildProperties msBuildProperties)
        {
            var processProperties = new ProcessProperties()
                {
                    Executable = "MSBuild.exe",
                    Arguments = BuildArguments(msBuildProperties)
                };

            _processRunner.RunProcess(processProperties);
        }
Esempio n. 2
0
 public void RunProcess(ProcessProperties processProperties)
 {
     var process = new Process
         {
             StartInfo = new ProcessStartInfo
                 {
                     FileName = processProperties.Executable,
                     Arguments = String.Join(" ", processProperties.Arguments),
                     UseShellExecute = false,
                 }
         };
     process.Start();
     process.WaitForExit();
 }
        public void RunProcess(ProcessProperties processProperties)
        {
            var process = new Process
            {
                StartInfo = new ProcessStartInfo
                {
                    FileName        = processProperties.Executable,
                    Arguments       = String.Join(" ", processProperties.Arguments),
                    UseShellExecute = false,
                }
            };

            process.Start();
            process.WaitForExit();
        }
 public RunProgramConfigurator(ProcessProperties properties)
 {
     _properties = properties;
 }