09-18-2017, 01:46 PM
Hello,
From this stackoverflow thread https://stackoverflow.com/questions/4443...mmand-line , i extract this command line:
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
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