Open dwmkerr opened 4 years ago
@RaschidJFR still having issues here unfortunately, it looks like in exec
, the second call to pickCli
fails and kills the process immediatly, with no output at all. I've tried stepping through with the debugger and cannot see what might be going wrong.
Quick question: would one alternative fix be to always just convert from command parameters
to magick command parameters
, and simplify the logic like that? Does IM 6 support just calling magick convert -version
for example? If so, I can update the code so that we simply look for the magick
cli and use that...
Hi, sorry for my late reply. I'm not sure I'm following you.
I've just tested and yes, the only failing test is 1) should prefer a command in an 'ImageMagick' folder on windows in exec
.
And yes, $ magick convert -version
works on windows and gives me this output:
Version: ImageMagick 7.0.9-2 Q16 x64 2019-10-30 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenCL OpenMP(2.0)
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raw rsvg tiff webp xml zlib
This is a continuation of the work in #27