ProcessSettingsExtensions.

SetRedirectedStandardErrorHandler(ProcessSettings, Func<string, string>) Method

Summary

Sets a function that intercepts the standard error before being redirected. Use in conjunction with RedirectStandardOutput.
Namespace
Cake.Core
Containing Type
ProcessSettingsExtensions

Syntax

public static ProcessSettings SetRedirectedStandardErrorHandler(this ProcessSettings settings, Func<string, string> handler)

Parameters

Name Type Description
settings ProcessSettings The process settings.
handler Func<string, string> The standard error handler.

Return Value

Type Description
ProcessSettings The same ProcessSettings instance so that multiple calls can be chained.