r71546 broke imagemagick usage in Windows, since cmd.exe takes the variable
authorPlatonides <platonides@users.mediawiki.org>
Fri, 15 Oct 2010 19:48:21 +0000 (19:48 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Fri, 15 Oct 2010 19:48:21 +0000 (19:48 +0000)
commitf91decf221f6bcb36850540887d775d7407d3373
tree96293f84ef094ffe16935a498d793325246f82d5
parent51c0d96a8785c5d3a66c93d6b14d3d6cd35fe813
r71546 broke imagemagick usage in Windows, since cmd.exe takes the variable
names as the program name.
I'm just not exporting those variables here, but we need to support them in Windows, too.
We could use putenv() but that seems ugly (and risky). A better solution would be to have
wfShellExec() call proc_open() with a modified environment.

A POSIX shell is required to accept variable assignments before the command so we shouldn't
have problems on any UNIX-like system.
http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_01
includes/media/Bitmap.php