PDA

View Full Version : How do I assign the output of command to a macro


swhite
11-06-2015, 11:25 AM
I am executing git describe with the following command-line options.
--match v_*

this outputs the value i want, but i can't figure out how to assign that value to a Macro, I need to parse that output in a VBScript task.

Thanks

kinook
11-06-2015, 11:30 AM
See the vbld_StepDone script event and LASTSTEP_OUTPUT system macro.

http://www.kinook.com/VisBuildPro/Manual/scriptevents.htm

http://www.kinook.com/VisBuildPro/Manual/systemmacros.htm

swhite
11-06-2015, 11:34 AM
Thanks for the prompt reply. The LASTSTEP_OUTPUT is what i need here. :)