runCommand() protected method
Runs a command to convert asset files.
protected boolean runCommand ( $command, $basePath, $asset, $result ) | ||
---|---|---|
$command | string |
The command to run. If prefixed with an |
$basePath | string |
Asset base path and command working directory |
$asset | string |
The name of the asset file |
$result | string |
The name of the file to be generated by the converter command |
return | boolean |
True on success, false on failure. Failures will be logged. |
throws | yii\base\Exception |
when the command fails and YII_DEBUG is true. In production mode the error will be logged. |
Please login to continue.