Skip to content

AzureCliProcessRunner

Runs one command and returns its standard output, so AzureCliTokenProvider can be exercised in tests without actually shelling out to az.

interface AzureCliProcessRunner

Implemented byProcOpenAzureCliProcessRunner
SourceAzureCliProcessRunner.php
MethodDescription
run(list<string> $command): string

abstract public function run(list<string> $command): string

Argv, never passed through a shell.

ParameterTypeDescription
$commandlist``<``string``>Argv, never passed through a shell.

Returns string

ThrowsWhen
AzureStorageExceptionIf the process could not be started or exited non-zero.