Builder.Common.BuildStepRunApplication.Run C# (CSharp) Method

Run() public method

public Run ( ) : void
return void
        public override void Run()
        {
            m_oBuilder.Log("Running application " + m_sExecutable + "...\r\n", true);

            ProcessLauncher launcher = new ProcessLauncher();
            launcher.Output += new ProcessLauncher.OutputDelegate(launcher_Output);

            string output;
            int exitCode = launcher.LaunchProcess(ExpandMacros(m_sExecutable), ExpandMacros(m_sArguments), out output);

            if (exitCode != 0)
               throw new Exception("Failed");
        }