[EMAIL PROTECTED] wrote:
Thanks to all for your help. With -i for osql, it works.
Another question:
I want the user to acknowledge an important echo-message with pressing a key.
<exec program="cmd.exe">
<arg value="/c" />
<arg value="pause" />
</exec>
doesn't work (the taks hangs)
Did you try typing at it? You may not be seeing any prompt or other
output due to buffering.
I try to avoid using NAnt's script task like the plague, but for this,
I'd be tempted to try a script that pops up a message box.
Alternatively, I'd consider wrapping it in a bash or python script, and
let that script deal with it. Mostly, though, I'd try to make the
requirement go away, perhaps by inserting control mechanisms in some
other part of the build or development process, or maybe requiring an
explicit -D on the command line. It depends upon what you're trying to
accomplish.
[Aside: When changing the subject, it's helpful to change the Subject:
line, as I've done. That makes it much easier to find the thread by
searching. Better yet, start a new thread.]
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-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users