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