[magick-users] WinXP (better portable): How to check installation?

Wenzel, Norbert norbert.a.wenzel at siemens.com
Wed May 7 00:58:31 PDT 2008


Hi,
 
I'm using ImageMagick (current version 6.4.1)  in Python (2.4) via
os.system(). When checking the installation of convert with
os.system("convert -version") the version printed, but the return code
is "1" instead of "0" as I would expect.
 
Anyway, I'm just programming and testing under XP and afterwards run it
on CentOS. So does the Linux version of convert return "1" either? 
 
Is there any (portable) way to check for a valid installation of
convert?
 
thanks,
Norbert


More information about the Magick-users mailing list