GenericPscpRunner<TSettings>.

RunWithResult<T>(string, TSettings, Func<IEnumerable<string>, T[]>, string[]) Method

Summary

Runs a command and returns a result based on processed output.
Assembly
Cake.Putty.dll
Namespace
Cake.Putty
Containing Type
GenericPscpRunner<TSettings>

Syntax

public T[] RunWithResult<T>(string command, TSettings settings, Func<IEnumerable<string>, T[]> processOutput, params string[] arguments)

Type Parameters

Name Description
T

Parameters

Name Type Description
command string
settings TSettings
processOutput Func<IEnumerable<string>, T[]>
arguments string[]

Return Value

Type Description
T[]