Better give some extract of your Python code that includes the Popen call as well as the exact error. I would expect something like:
Code:
Popen(["/path/to/gimp.exe","-idf","--batch-interpreter","python-fu-eval","-b","import sys;sys.path=['.']+sys.path;import batch;batch.run('./images')","-b","pdb.gimp_quit(1)"])
- If you are using "shell=true" in the hope of making your life easier, don't, it won't.
- Note the use of double quotes in the strings, keeping the single quotes for the Python code inside the strings (in the difficult cases, you can also use "raw" strings: r'..' or '''...''')
- Windows accepts "/" as file separators. The only place where it doesn't is the command prompt.