I have a script in python that is being processed in cmd. See code:
#!/usr/bin/python
# -*- coding: iso-8859-15 -*-
import glob,sys
import os
def dome(imagee):
cmd = "gimp-console-2.8 -idfsc --no-interface --no-splash --pdb-compat-mode on --no-shm --batch-interpreter python-fu-eval -b 'import sys,os;sys.path=[\".\"]+sys.path;import processing;processing.prome(\"%s\");' -b 'pdb.gimp_quit(0)'" % imagee
os.system(cmd)
if __name__ == "__main__":
a = sys.argv[1]
dome(a)
Now every time I call it, it generates batch output, something like: Batch command executed succesfully.
and I need to press some key or terminate it in order to exit. What I can do not to show me output of that and not to need to press any key, all I want is simple for script to be executed and that's all.