The attribute resultproperty="result" of the <exec> task stores the return code 
of the executable in the given property.

Then ${result} = exit code

-----Message d'origine-----
De : Eric Fetzer [mailto:[EMAIL PROTECTED] 
Envoyé : Tuesday, February 07, 2006 10:18 PM
À : Nant Users
Objet : [NAnt-users] Return from an <exec> call

How would one go about running a program and gathering
the return?  I'd like to do a search in the registry
and get the result into a property using regfind.

Thanks,
Eric

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


2006 - Maporama International 



2006 - Maporama International - Outgoing mail scanned by BlackSpider


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to