ProcessSettingsExtensions Class

Summary

Contains extension methods for ProcessSettings.
Namespace
Cake.Core
Base Types
  • object
graph BT Type-->Base0["object"] Type["ProcessSettingsExtensions"] class Type type-node

Syntax

public static class ProcessSettingsExtensions

Methods

Name Value Summary
SetRedirectedStandardErrorHandler(ProcessSettings, Func<string, string>) ProcessSettings
Sets a function that intercepts the standard error before being redirected. Use in conjunction with RedirectStandardOutput.
static
SetRedirectedStandardOutputHandler(ProcessSettings, Func<string, string>) ProcessSettings
Sets a function that intercepts the standard output before being redirected. Use in conjunction with RedirectStandardOutput.
static
SetRedirectStandardError(ProcessSettings, bool) ProcessSettings
Sets a value indicating whether the standard error of an application is written to the standard error stream.
static
SetRedirectStandardOutput(ProcessSettings, bool) ProcessSettings
Sets a value indicating whether the output of an application is written to the standard output stream.
static
SetTimeout(ProcessSettings, int) ProcessSettings
Sets the optional timeout for process execution.
static
UseWorkingDirectory(ProcessSettings, DirectoryPath) ProcessSettings
Sets the working directory for the process to be started.
static
WithArguments(ProcessSettings, Action<ProcessArgumentBuilder>) ProcessSettings
Sets the arguments for the process.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin