I have read tons of posts but still can't seem to figure it out.

I want to subprocess.Pope n() rsync.exe in windows, and print the stdout in python.

This works...
Code:
import subprocess, time, os, sys

cmd = "rsync.exe -vaz souce/ dest/"

p = subprocess.Popen(cmd,
                     shell=True,
                     bufsize=64,
                     stdin=subprocess.PIPE,
...