Summary
Sets a function that intercepts the standard output before being redirected. Use in conjunction with
RedirectStandardOutput.
- Namespace
- Cake
.Core - Containing Type
- Process
Settings Extensions
Syntax
public static ProcessSettings SetRedirectedStandardOutputHandler(this ProcessSettings settings, Func<string, string> handler)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | ProcessSettings | The process settings. |
| handler | Func |
The standard output handler. |
Return Value
| Type | Description |
|---|---|
| ProcessSettings | The same ProcessSettings instance so that multiple calls can be chained. |
