Skip to content

ProcOpenAzureCliProcessRunner

Default AzureCliProcessRunner: runs the command directly via proc_open()’s array form, never through a shell, so there is nothing for the fixed, argument-free az invocation to inject into.

final class ProcOpenAzureCliProcessRunner implements AzureCliProcessRunner

ImplementsAzureCliProcessRunner
SourceProcOpenAzureCliProcessRunner.php
MethodDescription
run(list<string> $command): string

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.