public static getStartPhpScriptCommand ( string $script ) : string | ||
$script | string | relative path from app folder |
return | string | Returns start php script CMD |
public static function getStartPhpScriptCommand($script)
{
return PHP_BINARY . ' ' . realpath(APPPATH . $script);
}