"No Echo"...you need to "call" in order to return to the bat file:

Call nant /?

Witholut the "call", control transfers to nant and the batch file ends.

Rod 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of B Wooster
Sent: Wednesday, December 21, 2005 7:54 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Strange error - batch script exits after any nant
command

On a Windows 2003 Server Standard Edition, SP1 machine, I have a strange
error - in my .bat file, the script exists after calling nant, here's a
simple test:
echo starting nant
nant /?
echo done with nant

And here's the output:
E:\>echo starting nant
starting nant

E:\>nant /?
NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry
Shaw http://nant.sourceforge.net

Unknown argument '/?'

Try 'nant -help' for more information

E:\\Build>

[no final echo statement above]

I looked at event viewer, no messages related to this.

This works fine on a XP box, or a Windows 2003 Enterprise edition box.
Anyone have any thing I can try, to figure out what is going on?


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to