Le sous-processus Python redirige un fichier

print subprocess.Popen("echo Hello World", shell=True, stdout=subprocess.PIPE).stdout.read()
Filthy Fly