Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the correct way to close a python batch job?
#2
In my trials I used -b 'pdb.gimp_quit(1)' and it worked (and you seem to be using my technique). if you open the Python-fu console and enter pdb.gimp_quit(1) Gimp indeed exits.

"Adding variations of "gimp.quit" and "pdb.quit" to the end of my script that I'm importing but these all seem to have zero effect": these shoud elicit error messages. So if they have zero effect they aren't even executed. Did you try to prove to yourself that your main code actually finishes?
Reply


Messages In This Thread
RE: What is the correct way to close a python batch job? - by Ofnuts - 03-25-2020, 12:06 AM

Forum Jump: