ExifTool Forum

ExifTool => Newbies => Topic started by: SulG on July 11, 2012, 09:00:22 PM

Title: exiftool exit value 1
Post by: SulG on July 11, 2012, 09:00:22 PM
I am newbie with ExifTool. I have it installed on Solaris OS.

I am able to successfully launch the following command on the command prompt.
exiftool -b -PreviewImage IMG_4147.dng > IMG4147prev.jpg

However, programmatically when I execute the same command, exiftool is returning a exit value of 1.
How/Where do I see the logs/details to see why exiftool would be failing in this scenario.

Thanks,
SulG
Title: Re: exiftool exit value 1
Post by: Phil Harvey on July 22, 2012, 07:10:09 AM
Sorry for the delay in responding.  I was on vacation.

I don't understand why you get an exit value of 1 unless the specified file doesn't exist, or if there was some other serious error.  But in this case, you should get an error message sent to stderr.  Unfortunately there are no additional diagnostics available when doing binary output like this.

- Phil