openmediavault  4.0 (Arrakis)
The open network attached storage solution
Public Member Functions | List of all members
OMV\System\ShellScript Class Reference

Public Member Functions

 __construct ($script)
 
 setQuiet ($quiet=TRUE)
 
 execute (array &$output=NULL, &$exitStatus=NULL)
 

Member Function Documentation

◆ execute()

OMV\System\ShellScript::execute ( array &  $output = NULL,
$exitStatus = NULL 
)

Execute the script.

Parameters
outputIf the output argument is present, then the specified array will be filled with every line of output from the script.
exitStatusIf the argument is present along with the output argument, then the return status of the executed script will be written to this variable.
Exceptions

The documentation for this class was generated from the following file: