Reading output from child process using python
The Context I am using the subprocess module to start a process from python. I want to be able to access the output (stdout, stderr) as soon as it is written/buffered. The solution must support Windows 7. I require a solution for Unix systems too but I suspect the Windows case is more difficult to solve. The solution should support Python 2.6. I am currently restricted to Python 2.6 but solutions using later versions of Python are still appreciated. The solution should not use third party libraries. Ideally I would love a solution using the standard library but I am open to suggestions. The