Post Reply 

How to close gimp with batch command?

Jun 19, 2017, 12:14
Post: #1
How to close gimp with batch command?
I have a simple question: When i run a python script via gimp, how can i close the command line window saying "press any key to close"?

I'm calling my script like this:

"C:\Program Files\GIMP 2\bin\gimp-2.8.exe" -idf --batch-interpreter python-fu-eval -b "import sys;sys.path=['.']+sys.path;import PDF;PDF.process('%1','%2');" -b "pdb.gimp_quit(1)"

When i run the command an extra cmd window opens, which belongs to the gimp-2.8.exe process. Now how can i close it automatically? I would have thought pdb.gimp_quit(1) would actually do exactly that but it doesn't! Can anyone explain to me what is happening and if there is any way to finally close this stupid command line window?

Thanks...
Find all posts by this user
Quote this message in a reply
Jun 19, 2017, 12:29
Post: #2
RE: How to close gimp with batch command?
Hi flixe

This forum was dead for a long time (but recently sprung into life again). There is nobody left here to answer questions.

Many people who were here have moved to
https://www.gimp-forum.net
Please ask your questions there.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Script-fu: How to create new, addressable layer using gimp-floating-sel-to-layer Bertholom√§us 2 147 Aug 31, 2017 14:32
Last Post: Bertholomäus
  Late binding / COM for opening an image into GIMP? i73 2 128 Aug 4, 2017 17:39
Last Post: i73
  Batch create images from array edmilner 1 204 Jul 17, 2017 16:41
Last Post: ythgilb
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 200 Jul 11, 2017 07:26
Last Post: ythgilb
  Need help in running a gui script-fu via command line eyalzek 2 283 Oct 4, 2014 14:05
Last Post: eyalzek

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS