Merril, IF the process did not start or did not finish in time, the value of the property set in the "resultproperty" attribute will be set the the string value "-1000". I'll made sure this is documented later.
Gert > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Merrill Cornish > Sent: dinsdag 2 november 2004 23:44 > To: [EMAIL PROTECTED] > Subject: [Nant-users] <exec> timeout Attribute? > > 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 > > ------------------------------------------------------- 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