[TYPO3-core] RFC #16656 : bug : ImageMagick does not work with quotes in exec() path on Windows

Žiga Dolhar ziga at dolhar.si
Tue Feb 22 11:58:07 CET 2011


+1 on reading and testing! (Windows 2008, php 5.2, typo3 4.5)

Thank you for your time, Jigal!

On 21.2.2011 20:18, Jigal van Hemert wrote:
> Hi,
>
> Attached version 3 which takes a little bit different approach [1]. So
> for PHP versions lower than 5.3.0 on Windows there must be an extra set
> of double quotes around the command. PHP does this in 5.3, but this
> change hasn't been backported to 5.2 (and because 5.2.x is EOL this
> won't happen).
>
> The patch for 4_5 and trunk uses t3lib_utility_Command::exec() as the
> place to fix this; the patch for 4_4 uses t3lib_div::imageMagickCommand().
>
> [1] http://www.php.net/manual/en/function.exec.php#101579
>



More information about the TYPO3-team-core mailing list