Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

run_command()

Description

Utility function which works like system(), but returns the complete output string rather than just the last line of it.

Parameters

ColumnTypeDefaultDescription
$command string Command to run
$geterrors boolean false Set to TRUE to include errors in the output
$params array array List of placeholders and their values which will have to be escapedshellarg()d.

Return

string Command output

This article was last updated 5th July 2020 04:05 Europe/London time based on the source file dated 3rd July 2020 16:53 Europe/London time.