Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inconsistent outcomes with batch processing
#1
Hi all - first time poster here
I am interesting in using the batch processing mode and have copied some script code from
https://bsenduran.blogspot.com/2017/09/r...mp-in.html
and it is working within the script-fu console.
So far, so good
When I try to run the same script from a command line, using syntax like this

"C:\Program Files\GIMP 2\bin\gimp-2.10.exe" -b '(timbo "C:\\Folder1\\Folder2\\*.JPG" 0.5)'
(I've tried single and double backslashes in the path passed)

I have had three basic types of outcome - I had a few occasions when a second console window opened up and, in this, I got a message to say that the batch file had completed successfully

Then, I must have done something, but I don't know what - because I then went through a phase when I didn't get the 2nd console window up - I get a 'wait' cursor for a few seconds and nothing seemed to have happened - the files weren't processed

Now, I've noticed that if I pass an invalid path to GIMP in the command line parameters, I get a different outcome again, which is a 2nd console window which contains the message
"Batch commands cannot be run in existing instance in Win32"
I am running 64 bit Windows 10 Home

Can anyone explain what is going on here?

Thanks in advance
Tim
Reply


Messages In This Thread
Inconsistent outcomes with batch processing - by TimHaydnJones - 04-26-2019, 11:27 AM

Forum Jump: