当前位置: 首页>>代码示例>>C#>>正文


C# Util.ProcessExecutor类代码示例

本文整理汇总了C#中ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor的典型用法代码示例。如果您正苦于以下问题:C# ProcessExecutor类的具体用法?C# ProcessExecutor怎么用?C# ProcessExecutor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ProcessExecutor类属于ThoughtWorks.CruiseControl.Core.Util命名空间,在下文中一共展示了ProcessExecutor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Mks

        /// <summary>
        /// Initializes a new instance of the <see cref="Mks" /> class.	
        /// </summary>
        /// <param name="parser">The parser.</param>
        /// <param name="executor">The executor.</param>
        /// <remarks></remarks>
		public Mks(IHistoryParser parser, ProcessExecutor executor) : base(parser, executor)
		{
            this.Executable = DefaultExecutable;
            this.AutoGetSource = DefaultAutoGetSource;
            this.AutoDisconnect = DefaultAutoDisconnect;
            this.Port = DefaultPort;
		}
开发者ID:BiYiTuan,项目名称:CruiseControl.NET,代码行数:13,代码来源:Mks.cs

示例2: Mks

 public Mks(IHistoryParser parser, ProcessExecutor executor)
     : base(parser, executor)
 {
     executable = "si.exe";
     port = 8722;
     autoGetSource = false;
 }
开发者ID:vardars,项目名称:ci-factory,代码行数:7,代码来源:Mks.cs

示例3: P4

 public P4()
 {
     processExecutor = new ProcessExecutor();
     processInfoCreator = new P4ConfigProcessInfoCreator();
     p4Initializer = new ProcessP4Initializer(processExecutor, processInfoCreator);
     p4Purger = new ProcessP4Purger(processExecutor, processInfoCreator);
 }
开发者ID:vardars,项目名称:ci-factory,代码行数:7,代码来源:P4.cs

示例4: NCoverProfileTask

 /// <summary>
 /// Initialise a new <see cref="NCoverProfileTask"/> with a <see cref="ProcessExecutor"/>.
 /// </summary>
 /// <param name="executor"></param>
 public NCoverProfileTask(ProcessExecutor executor)
 {
     this.executor = executor;
     this.Publish = true;
     this.TimeOut = 600;
     this.LogLevel = NCoverLogLevel.Default;
 }
开发者ID:derrills1,项目名称:ccnet_gitmode,代码行数:11,代码来源:NCoverProfileTask.cs

示例5: UpdateConfigurationTask

 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateConfigurationTask"/> class.
 /// </summary>
 /// <param name="executor">The executor to use.</param>
 public UpdateConfigurationTask(ProcessExecutor executor)
 {
     this.executor = executor;
     this.TimeOut = 600;
     this.Priority = ProcessPriorityClass.Normal;
     this.ValidateFile = true;
 }
开发者ID:robrich,项目名称:CruiseControl.NET,代码行数:11,代码来源:UpdateConfigurationTask.cs

示例6: RobocopySourceControl

 /// <summary>
 /// Initializes a new instance of the <see cref="RobocopySourceControl" /> class.	
 /// </summary>
 /// <param name="parser">The parser.</param>
 /// <param name="executor">The executor.</param>
 /// <remarks></remarks>
 public RobocopySourceControl(IHistoryParser parser, ProcessExecutor executor)
     : base(parser, executor)
 {
     this.Executable = "C:\\Windows\\System32\\robocopy.exe";
     this.AutoGetSource = false;
     this.WorkingDirectory = string.Empty;
     this.AdditionalArguments = string.Empty;
 }
开发者ID:kyght,项目名称:CruiseControl.NET,代码行数:14,代码来源:RobocopySourceControl.cs

示例7: NCoverProfileTask

 /// <summary>
 /// Initialise a new <see cref="NCoverProfileTask"/> with a <see cref="ProcessExecutor"/>.
 /// </summary>
 /// <param name="executor"></param>
 public NCoverProfileTask(ProcessExecutor executor)
 {
     this.executor = executor;
     this.Publish = true;
     this.TimeOut = 600;
     this.LogLevel = NCoverLogLevel.Default;
     this.Priority = ProcessPriorityClass.Normal;
 }
开发者ID:kascomp,项目名称:CruiseControl.NET,代码行数:12,代码来源:NCoverProfileTask.cs

示例8: CodeItRightTask

 /// <summary>
 /// Initializes a new instance of the <see cref="CodeItRightTask"/> class.
 /// </summary>
 /// <param name="executor">The executor.</param>
 public CodeItRightTask(ProcessExecutor executor)
 {
     this.executor = executor;
     this.Executable = CodeItRightTask.DefaultExecutable;
     this.TimeOut = 600;
     this.ReportingThreshold = Severity.None;
     this.FailureThreshold = Severity.None;
     this.Priority = ProcessPriorityClass.Normal;
 }
开发者ID:derrills1,项目名称:ccnet_gitmode,代码行数:13,代码来源:CodeItRightTask.cs

示例9: NCoverReportTask

 /// <summary>
 /// Initialise a new <see cref="NCoverReportTask"/> with a <see cref="ProcessExecutor"/>.
 /// </summary>
 /// <param name="executor"></param>
 public NCoverReportTask(ProcessExecutor executor)
 {
     this.executor = executor;
     this.XmlReportFilter = NCoverReportFilter.Default;
     this.TimeOut = 600;
     this.NumberToReport = -1;
     this.SortBy = NCoverSortBy.None;
     this.MergeMode = NCoverMergeMode.Default;
 }
开发者ID:derrills1,项目名称:ccnet_gitmode,代码行数:13,代码来源:NCoverReportTask.cs

示例10: CruiseControlHgProcess

        public CruiseControlHgProcess(ProcessExecutor processExecutor)
        {
            if (processExecutor == null)
            {
                throw new ArgumentNullException("processExecutor");
            }

            _processExecutor = processExecutor;
        }
开发者ID:davidsidlinger,项目名称:ccnet-hg-nosuck,代码行数:9,代码来源:CruiseControlHgProcess.cs

示例11: MsBuildTask

        /// <summary>
        /// Initializes a new instance of the <see cref="MsBuildTask" /> class.	
        /// </summary>
        /// <param name="executor">The executor.</param>
        /// <param name="executionEnvironment">The execution environment.</param>
        /// <param name="shadowCopier">The shadow copier.</param>
        /// <remarks></remarks>
		public MsBuildTask(ProcessExecutor executor, IExecutionEnvironment executionEnvironment, IShadowCopier shadowCopier)
		{
			this.executor = executor;
			this.executionEnvironment = executionEnvironment;
			this.shadowCopier = shadowCopier;

			this.Executable = GetDefaultExecutable();
            this.Timeout = DefaultTimeout;
            this.Priority = ProcessPriorityClass.Normal;
        }
开发者ID:robrich,项目名称:CruiseControl.NET,代码行数:17,代码来源:MsBuildTask.cs

示例12: CreateExecutor

		protected void CreateExecutor()
		{
			executor = new ProcessExecutor();
			if (Thread.CurrentThread.Name == null)
			{
				Thread.CurrentThread.Name = PROJECT_NAME;
			}
			runnerThreadCompletedNormally = false;
			runnerThreadWasAborted = false;
		}
开发者ID:kascomp,项目名称:CruiseControl.NET,代码行数:10,代码来源:ProcessExecutorTest.cs

示例13: RunSvnProcess

        public static ProcessResult RunSvnProcess(SvnOptions svnLoginOptions, ProcessArgumentBuilder argBuilder)
        {
            argBuilder.AddArgument("--non-interactive");
            argBuilder.AddArgument("--no-auth-cache");

            ProcessInfo info = new ProcessInfo("svn.exe", argBuilder.ToString());

            ProcessExecutor executor = new ProcessExecutor();
            ProcessResult result = executor.Execute(info);
            return result;
        }
开发者ID:nfrey,项目名称:qreal,代码行数:11,代码来源:SvnProcessHelper.cs

示例14: NUnitTask

 /// <summary>
 /// Initializes a new instance of the <see cref="NUnitTask" /> class.	
 /// </summary>
 /// <param name="exec">The exec.</param>
 /// <remarks></remarks>
 public NUnitTask(ProcessExecutor exec)
 {
     executor = exec;
     this.Assemblies = new string[0];
     this.NUnitPath = DefaultPath;
     this.OutputFile = DefaultOutputFile;
     this.Timeout = DefaultTimeout;
     this.Priority = ProcessPriorityClass.Normal;
     this.ExcludedCategories = new string[0];
     this.IncludedCategories = new string[0];
 }
开发者ID:kascomp,项目名称:CruiseControl.NET,代码行数:16,代码来源:NUnitTask.cs

示例15: SynergyCommand

		/// <summary>
		///     Default constructor.  Initializes all members to their default values.
		/// </summary>
		public SynergyCommand(SynergyConnectionInfo connectionInfo, SynergyProjectInfo projectInfo)
		{
			/*disposed = false*/;
			/*isOpen = false*/;
			executor = new ProcessExecutor();
			connection = connectionInfo;
			project = projectInfo;

			// register for server shutdown, to close all connections
			AppDomain.CurrentDomain.DomainUnload += new EventHandler(AppDomain_Unload);
			AppDomain.CurrentDomain.ProcessExit += new EventHandler(AppDomain_Unload);
		}
开发者ID:BiYiTuan,项目名称:CruiseControl.NET,代码行数:15,代码来源:SynergyCommand.cs


注:本文中的ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。