I\'ve tried what\'s told in How to force /bin/bash interpreter for oneliners
By doing
os.system(\'GREPDB=\"my command\"\') os.system(\'/bin/bash -c
I use this:
subprocess.call(["bash","-c",cmd])
//OK, ignore this because I have not notice subprocess not considered.