public static function runPhpScriptInBackground($script, $arguments = "", $outputFile = null) { $cmd = self::buildPhpScriptCmd($script, $arguments); $return = Console::execInBackground($cmd, $outputFile); return $return; }
/** * */ public function convert() { $this->save(); Console::runPhpScriptInBackground(realpath(PIMCORE_PATH . DIRECTORY_SEPARATOR . "cli" . DIRECTORY_SEPARATOR . "console.php"), "internal:video-converter " . $this->getProcessId()); }