Functions

Internal function: executes a shell command on the
local machine. This function should not be used
in instances where ssh is utilized to execute a
command remotely; otherwise, remote operations would
fail if executed from a Windows machine to a…

Platform-dependent version of escapeshellarg().
Given the target platform, return an appropriately-escaped
string. The target platform may be omitted for args that
are /known/ to be for the local machine.
Use raw to get an unquoted version of the…