I have a batch file, ‘buildAll.bat’, that builds a set of projects. It will be called by another batch file, ‘manager.bat’. The ‘buildAll.bat’ job executes in another window and outputs a lot of text.
I want the progress of the build job to be displayed in the original window(‘manager.bat’), like this:
Building project 1…done.
Building project 2…done.
Building project 3…done.
…
Build completed.
How can the build progress be communicated between the two jobs ?
Temporary files, for example.
buildAll.cmd
manager.cmd
Of course, this can be made much more powerful by relaying information about what projects are built and so on to the manager. But in principle it’s easily possible.