Getting the exit code of an application started with the “cmd” and “start” commands
问题 I have a console application. Interaction with this application is done via TCP/IP. I also have a test framework for it, which is basically a collection of BATCH scripts (...not my fault). What this test framework does for each test is basically this: start /min "myapplication.exe" and wait until verification is received that the application is up and running. send commands via TCP/IP to this application, receive its replies, and check if the timings and values agree with whatever is expected