ProcessSettingsExtensions.

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

Summary

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

Syntax

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

Parameters

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

Return Value

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