RunAsync(IEnumerable<string>, CancellationToken) Method

Runs the command line application with specified arguments.
public Task<int> RunAsync(IEnumerable<string> args, CancellationToken cancellationToken = default(CancellationToken))
Containing Type
CommandApp

Parameters

IEnumerable<string> args
The arguments.
CancellationToken cancellationToken
A System.Threading.CancellationToken that can be used to abort the application.

Returns

Task<int>