Hi all,
I'm running the below imagemgaick command which outputs to stdout:
compare <img1> <img2> -metric MAE null:
I'm trying to capture the output of this command from PHP. Normally I use the exec($cmd,$output) commands which stops cmd output from going to stdout and instead places into the $output array. However for some reason here that doesn't, output still goes to stdout and the output array is empty.
Any idea how to workaround this issue?
Thanks.