Commands without images returns exit code 1
Posted: 2014-09-24T11:06:07-07:00
Commands like these:
all return exit code 1. I think this shouldn't be the case, because no error has happened. They should return exit code 0.
I'm developing a wrapper for ImageMagick, and I'm actually using "identify -list command" to dynamically define methods, but my class for executing commands is setup to automatically raise an error when the status code isn't 0, so executing this command raises an error (because ImageMagick raised it).
Code: Select all
identify -list command
convert -help
identify
I'm developing a wrapper for ImageMagick, and I'm actually using "identify -list command" to dynamically define methods, but my class for executing commands is setup to automatically raise an error when the status code isn't 0, so executing this command raises an error (because ImageMagick raised it).