[Tutor] Logging stdout and stderr

2005-06-17 Thread Connor . Smith
Hi there - I'm trying to log the results of a command that I'm running via the popen2 module to a file, while at the same time displaying its progress on the screen. So, at the end of the run, I should have the entire output (stdout and stderr) on the screen, but also have two file objects each

[Tutor] Process control and capturing output

2005-06-01 Thread Connor . Smith
Hi there - I'm trying to capture the output of a long-running command in the background (it's a CVS rdiff on a fairly big repository).  I need to capture the stdout from this command, and then parse it later for a report Defining the function: def rdiffApp (targetModule, buildFromStamp, buildT