Project

General

Profile

Bug #24281 » 16656_v3.patch

Administrator Admin, 2011-02-21 20:19

View differences:

t3lib/utility/class.t3lib_utility_command.php (working copy)
* @return null|array
*/
public static function exec($command, &$output = NULL, &$returnValue = 0) {
if (TYPO3_OS == 'WIN' && version_compare(phpversion(), '5.3.0', '<')) {
$command = '"' . $command . '"';
}
$lastLine = exec($command, $output, $returnValue);
return $lastLine;
}
(2-2/3)