In many languages,
it is possible to execute an external command and set the results to an internal
variable. For example in Bourne shell:
todaysDate=`date`
And in
Perl:
$hostname=qx(hostname);
Is it possible in
Nant to set a property to the output of a system command? There is a
resultproperty parameter in the exec task, but that's the exit status of the
external command and not the output of the external
command.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users