Documentation

ExecutorInterface

Run a command in shell context

TODO: Figure where we can put this for reuse without creating an ever-growing blob

Tags
author

Ralf Lang ralf.lang@ralf-lang.de

copyright

2008-2022 Horde LLC

Table of Contents

__invoke()  : ExecutionResult
Run the command

Methods

__invoke()

Run the command

public __invoke(non-empty-string $cmd[, string $throwOnNonZero = '' ]) : ExecutionResult
Parameters
$cmd : non-empty-string

The complete command to run including all parameters

$throwOnNonZero : string = ''
Return values
ExecutionResult

Search results