1794c1794,1806 < --- > > // Prevent 'Unable to fork' warning on Windows systems > if (TYPO3_OS=="WIN") { > exec("REM", $cmd_output, $cmd_return); > if ($cmd_return == 0) { // 0 means no error > $this->message($ext, "cmd.exe is executable", "", -1); > } else { // could not even execute the REM internal command! > $comspec = getenv("COMSPEC"); > $cmd_explanation = "On a Windows system, the user under which PHP is run must have execute permission for the command interpreter defined by the ComSpec environment variable ($comspec). Another option is to put a copy of cmd.exe inside the directory in which PHP or the web server was started. Otherwise the 'Unable to fork' warning will be issued when trying to run ImageMagick."; > $this->message($ext, "cmd.exe is not executable", $cmd_explanation, 2); > } > } >