Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can i launch a gimp command line from a python script ?
#1
Hello,


From this stackoverflow thread https://stackoverflow.com/questions/4443...mmand-line , i extract this command line:

Code:
gimp-console -idf --batch-interpreter python-fu-eval -b "import sys;sys.path=['.']+sys.path;import batch;batch.run('./images')" -b "pdb.gimp_quit(1)"

It worls perfectly well.

Now, i would like to run this command from a python script, usually i use subprocess.Popen....but it does not work and i get this message:
"batch command experienced an execution error"


How can i launch the gimp command line from a python script ?
Thanks
Reply


Messages In This Thread
How can i launch a gimp command line from a python script ? - by alvaro562003 - 09-18-2017, 01:46 PM

Forum Jump: