ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: herb on November 16, 2017, 07:31:03 AM

Title: 10.66 problems with -stay_open
Post by: herb on November 16, 2017, 07:31:03 AM
Hello Phil,

today I installed Exiftool version 10.66 on my WIN7 system. But my C++ application has problems with this new version.

Exiftool is started with -stay_open option. To perform a task "-execute111\r\n" is sent.
It looks like that exiftool does not respond or that the response has changed.

In debug I have seen that after the task has been performed Exiftool responds with: "1 output files created\r\n{ready-}\r\n"
but my application is waiting for: "1 output files created\r\n{ready111}\r\n"

For me it looks like that this an error in Exiftool.
Thanks for your comments in advance

Best regards
Herb

Title: Re: 10.66 problems with -stay_open
Post by: Phil Harvey on November 16, 2017, 09:09:35 AM
Hi Herb,

Thanks for this bug report, and sorry for the inconvenience.

ExifTool 10.67 (just released) fixes this.

(The problem occurred because I patched ExifTool 10.66 to accept a Unicode minus sign as well as an ASCII hyphen as the first character of "-execute", which had the unexpected side-effect of causing the hyphen to get captured for the "{ready}" message.)

- Phil

P.S. I'm glad that you caught this early, before it affected too many people.
Title: Re: 10.66 problems with -stay_open
Post by: herb on November 16, 2017, 09:38:54 AM
Hello Phil,

thanks for the correction in version 10.67.
I did a quick check and Exiftool works again as expected.

Thanks again and
Best regards
Herb
Title: Re: 10.66 problems with -stay_open
Post by: Phil Harvey on November 24, 2017, 07:27:20 AM
I just noticed that 1.66 had failed my suite of pre-release checks, but I missed the warning in the output. :(

I'll have to be more careful about checking this.

- Phil