ProcessSettingsExtensions.

SetRedirectStandardOutput(ProcessSettings, bool) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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