09-18-2017, 03:08 PM
(This post was last modified: 09-18-2017, 03:26 PM by alvaro562003.)
Hi Ofnuts,
Thank you for you feedback,
I take into account your remarks, here is the code genereating the error:
gimpPipe = subprocess.Popen( ["C:/Program Files/GIMP 2/bin/gimp-console-2.8.exe", '-idf', '--batch-interpreter', 'python-fu-eval','-b', "import sys;sys.path=['.']+sys.path;import batch;batch.run('./images')", '-b', "pdb.gimp_quit(1)"], shell=False )
gimpPipe.wait()
To better understand, i simplify the command :
gimpPipe = subprocess.Popen( ["C:/Program Files/GIMP 2/bin/gimp-console-2.8.exe", '-idf', '--batch-interpreter', 'python-fu-eval','-b', "import sys;sys.path=['.']+sys.path;", '-b', "pdb.gimp_quit(1)"], shell=False )
and there is no error
So, the error is coming from the adjunction of:
-b', "import batch;",
maybe a question of path
Thank you for you feedback,
I take into account your remarks, here is the code genereating the error:
gimpPipe = subprocess.Popen( ["C:/Program Files/GIMP 2/bin/gimp-console-2.8.exe", '-idf', '--batch-interpreter', 'python-fu-eval','-b', "import sys;sys.path=['.']+sys.path;import batch;batch.run('./images')", '-b', "pdb.gimp_quit(1)"], shell=False )
gimpPipe.wait()
To better understand, i simplify the command :
gimpPipe = subprocess.Popen( ["C:/Program Files/GIMP 2/bin/gimp-console-2.8.exe", '-idf', '--batch-interpreter', 'python-fu-eval','-b', "import sys;sys.path=['.']+sys.path;", '-b', "pdb.gimp_quit(1)"], shell=False )
and there is no error
So, the error is coming from the adjunction of:
-b', "import batch;",
maybe a question of path