I was wondering whether subprocess.call("if [ ! -d '{output}' ]; then mkdir -p {output}; fi",shell=True) will be interpreted by sh orzsh instead of bash in different server? 
Anyone has ideas about this?
What should I do to make sure that it's interpreted by bash?
 
     
     
     
    