Lightroom and post-processing after export

Tutorials, questions, demos, questionable images ,,,

Moderator: Moderators

Forum rules
Please ensure that you have a meaningful location included in your profile. Please refer to the FAQ for details of what "meaningful" is.

Lightroom and post-processing after export

Postby ATJ on Sat Jan 24, 2009 10:38 am

I just made a discovery that people might find useful.

Over the last few months I have noticed a big increase in the number of instances of cmd.exe showing up in Windows Task Manager. I never knew what created them but there seemed to be more and more the longer since a reboot. I sort of suspected it might have been Lightroom, but I wasn't sure. Well, now I know.

When I export an image I run a batch job to extract the Exif information from the image and write it to a file which I use later as part of my web site. The batch job calls another batch job for each file being exported:
Code: Select all
for %%A in (%*) do call "C:\atj.com.au\exiftool" %%A

I realised that after exporting I had an extra cmd.exe running. If I removed the post processing action, I didn't get the extra cmd.exe. I then added exit to the batch job:
Code: Select all
for %%A in (%*) do call "C:\atj.com.au\exiftool" %%A
exit

and that fixed the problem.

I'm not sure if the extra cmd.exe happens because of the nested batch jobs or simply a quirk of Lightroom, but it works now.
User avatar
ATJ
Senior Member
 
Posts: 3982
Joined: Fri Feb 18, 2005 10:44 am
Location: Blue Mountains, NSW

Return to Post Processing