Kevin wrote:

Hello Everyone,

I just joined this list.

I’m working on a program that will spawn NAnt, and what I really want to do is to be able to capture all of the output from all of the executable programs that NAnt spawns. The reason why I want to do this is because I want to provide my users will real-time information about what NAnt is doing.

...

I don’t think there’s any way to do this currently. Please tell me if I’m wrong. If NAnt captured its spawned exec’s output and sent it to its own stdout, then I could capture the output from my program before NAnt finished executing. I looked at the source briefly, and to me it looks like some sort of change would need to be made to

I'm not sure what the problem is that you're trying to solve. NAnt already collects stdout from programs it execs, and puts it into the log on its stdout - unfortunately with [exec] prefixes on all of it. How exactly is the current behavior wrong for you?

Gary




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to