On Sun, Feb 07, 2010 at 09:10:44AM -0300, Jorge Arellano Cid wrote:
On Thu, Feb 04, 2010 at 06:32:29PM +0000, Jeremy Henty wrote:
On Wed, Feb 03, 2010 at 08:07:13AM +0000, corvid wrote:
I've been wondering whether it is possible to check dpid and the dpis as well. [...]
[...] The tricky thing is identifying the process - currently I just slurp the whole output before doing anything, by which time the dpi might have died. It might be better to process it line-by-line so I can check the process table right away. That would need a little re-engineering. Or maybe it would be better to replace the dpis with wrappers that run valgrind?
I'd definitely try with wrappers!
I think you're right. It's a little kludgy but at least it's robust - you know for sure which program the output is from and you don't get scrambled results from multiple processes writing to the same stream. Regards, Jeremy Henty