Try wrapping the command to build the help with start /wait 

As in: start /wait buildcmd

Try it with Notepad.  You'll see if you kick off Notepad in DOS, you'll get
the prompt come back immediately.  But if you put the start /wait in front,
then the prompt will only return when Notepad is exited.

Eric

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nant-users-
> [EMAIL PROTECTED] On Behalf Of Andy Johnstone
> Sent: Friday, May 25, 2007 09:44
> To: nant-users@lists.sourceforge.net
> Subject: [NAnt-users] HelpStudio 3
> 
> Hi,
> 
> I'm trying to use Nant to automatically build my HelpStudio 3 project via
> the exec task.  The problem seems to be that the binary returns
> immediately
> to nant, although the command itself ends up failing (and displaying a
> message box).
> 
> How have others handled programs that return like this?
> 
> Thanks
> Andy
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to