class LaserpointsScript

Methods

array|string
exec(array $command, bool $decode = true)

Execute a laser point detection command.

Details

at line 20
array|string exec(array $command, bool $decode = true)

Execute a laser point detection command.

Parameters

array $command

Command to execute as array of the executable and its arguments

bool $decode

Whether to decode the JSON output of the script

Return Value

array|string

The JSON object returned by the detection script as array

Exceptions

Exception