Python readline function delivers EOF only if the PIPE object is closed, otherwise it blocks my process until a new line is written into the PIPE.
So it would be easier to get stderr output if it has a {ready} mark in the same way as stdout output (in stay_open mode only, of course).
But I am afraid that it could be compatibility issues with existing software using Exiftool.
Michel
Hi Michel,
You can use the -echo2 to provide an output on stderr. With ExifTool 9.09 this should also do the necessary flushing. But you'll have to do this in a separate -execute for this to come after all other stderr output from the command.
- Phil
I missed -echo2... Thanks !
Great. I should mention that 9.09 (to be released in about an hour) is only necessary if you are using -q. Otherwise earlier versions will do.
- Phil
Yes, I just tested echo2 with 9.08 and that run well :)