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,