ProcessSettingsExtensions.

SetStandardInput(ProcessSettings, ReadOnlySpan<byte>) Method

Summary

Sets the bytes written to the process standard input.
Namespace
Cake.Core
Containing Type
ProcessSettingsExtensions

Syntax

public static ProcessSettings SetStandardInput(this ProcessSettings settings, ReadOnlySpan<byte> standardInput)

Parameters

Name Type Description
settings ProcessSettings The process settings.
standardInput ReadOnlySpan<byte> The standard input bytes.

Return Value

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