I am trying to write a wrapper script for a command line program (svnadmin verify) that will display a nice progress indicator for the operation. This requires me to be abl
if you just want to forward the log to console in realtime
Below code will work for both
p = subprocess.Popen(cmd, shell=True, cwd=work_dir, bufsize=1, stdin=subprocess.PIPE, stderr=sys.stderr, stdout=sys.stdout)