I have a server which receives commands from a client and runs them.
These commands use one specific batch script, which receives arguments and runs.
The script calls an external console application program with these arguments.
The arguments can also instruct the script to run multiple instances of the console application, in the background. So, the outcome could be one open CMD
, running 3 instances of app.exe
, in the background.
I wish to know when each one of those processes of app.exe
finish (and get each one's specific command line with its arguments), and send that to the client.
Any ideas?