-stay_open with -config : missing immediate {ready} after -execute

Started by flingo, October 21, 2015, 05:04:09 PM

Previous topic - Next topic

flingo

I'm using exiftool in stay_open mode with an ARGFILE and stdout redirected to a file in order to translate face tags (Picasa to WLPG) on an file by file basis.

Until now I didn't use the -config option and all worked as expected:
- write arguments to the ARGFILE, terminate it with -execute and wait for the corresponding {ready} in the output file, perfect!

But recently I realized that I need a config file to do the face tag translations properly and found it in this thread:
https://exiftool.org/forum/index.php/topic,4361.0.html
https://exiftool.org/forum/index.php?action=dlattach;topic=4361.0;attach=462

So I changed the exiftool command line:
exiftool -config ExifTool_config_convert_regions -stay_open True -@ myargfile > exiftool_out.txt

and write to myargfile:
-regioninfomp<myregionmp
myphoto-001.JPG
-execute


Unfortunately, now I don't get a {ready} until I stop exiftool via

-stay_open
False

At that point, I get a confirmation for all processed photos entered in that way with one single {ready}.

Is that the expected behaviour? Is there a way to get one {ready} per photo as before (-echo3 output is also delayed until exiftool is closed)?

------------
EDIT:
------------
When I start exiftool w/ -common_args:
exiftool -config ExifTool_config_convert_regions -stay_open True -@ myargfile -common_args -fast2 -n -m > exiftool_out.txt

and write to myargfile:
-regioninfomp<myregionmp
myphoto-001.JPG
-execute

The photo is updated immediately, but the conformation is still missing

After:

-stay_open
False

I get a seperate {ready} confirmation for each processed photos.

Now, the only remaining question remaining is: Is there a way to flush the output file?

Martin

flingo

Forget about it!

Within my Lr Plugin environment the output/response file is updated immediately.

I was working on this issue the last 3 days w/o success  >:( and now everything fine again.

:) Martin