ProcessSettingsExtensions.

SetRedirectStandardError(ProcessSettings, bool) Method

Summary

Sets a value indicating whether the standard error of an application is written to the standard error stream.
Namespace
Cake.Core
Containing Type
ProcessSettingsExtensions

Syntax

public static ProcessSettings SetRedirectStandardError(this ProcessSettings settings, bool redirect)

Parameters

Name Type Description
settings ProcessSettings The process settings.
redirect bool true if error output should be redirected; false if error output should be written to the standard error stream. The default is false.

Return Value

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