[FIX] use shell=True in subprocess.Popen to allow using pipes