As part of our NAnt script to run tests, we have an <exec> task that power cycles the 
hardware under test so we always start from a pristine state.  We originally assumed 
that the <exec> would always succeed, but we now know it can hang indefinitely.

The <exec> task's timeout attribute looks like exactly what we need.  However, how do 
we tell if the <exec> returned normally (in which case we continue) or timed out (in 
which case we fail the script)?

If I set the failonerror attribute to false, could I check the resultproperty to see 
if that property is at it's initial value (as opposed to reflecting a 0 or 1 from the 
execution of the <exec>?

Merrill


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to