|
From: Shaw, G. <gr...@ea...> - 2002-08-07 19:59:13
|
I'd say it's a disadvantage to use external programs if there is a way to use the framework directly. Calling external programs reduces the portability of the nant tasks when people start using this on Linux with Mono. If possible use the framework. -----Original Message----- From: Gordon Weakliem [mailto:gwe...@od...]=20 Sent: Wednesday, August 07, 2002 12:52 PM To: nan...@li... Subject: [nant-dev] Spawning processes vs. using managed apis I've been rolling some of my own tasks for NAnt lately, and looking through the source, I notice that most tasks spawn off a separate process even when there's a managed API that implements the same functionality (the tlbimp/tlbexp tasks in NAntContrib, for example). Is there a reason for this? It's definitely more expedient to spawn off an existing utility program, but I'm wondering if there's a particular advantage to doing this, or a disadvantage to using managed APIs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-developers mailing list Nan...@li... https://lists.sourceforge.net/lists/listinfo/nant-developers |