Reputation: 13007
Visual Build Professional has an [Exit] action but it only terminates the build currently in progress. Is there any way for it to terminate the entire build tool?
I have a frequently run build script which I usually let run in the background, and it would be convenient if the tool would clean itself up by terminating altogether once this build is done.
Upvotes: 0
Views: 204
Reputation: 13007
Similar to running the GUI tool with a command line, another possibility is to run the build script using the VisBuildCmd.exe
command line executor.
Details: https://www.kinook.com/VisBuildPro/Manual/index.htm?consoleapp.htm
This does not quite meet the question's objective of having the script itself cause the build tool to terminate, and would require either running the command manually at a prompt or otherwise scripting it like with a batch file. However once setup this achieves nearly the same result.
Upvotes: 0
Reputation: 7135
Include the /s flag when starting VisBuildPro.exe (if using a VisBuildPro Project action, check 'Run GUI App in silent mode' on the Project tab) so that it will exit after the build finishes.
https://kinook.com/VisBuildPro/Manual/command_linegui.htm
You may also want to check 'Tools | User Options | Build | Honor command-line switches if build fails/canceled and continued'.
https://kinook.com/VisBuildPro/Manual/builduseropt.htm
Upvotes: 1