ResolveDefaultShellAsync(CancellationToken) Method

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

Resolves the default shell on various operating systems asynchronously.

Task<ShellInformation> ResolveDefaultShellAsync(CancellationToken cancellationToken)

Parameters

cancellationToken
CancellationToken

A cancellation token that can be used to cancel the asynchronous operation.

Returns

Task<ShellInformation>
A task representing the asynchronous resolution of the default shell, returning a ShellInformation object containing details about the detected shell.