I have a TFS Build Definition.
In the work flow, I need to bring up a console listener, and run some tests on this listener.
So I create a BAT file with the followings:
start cmd /k "d:\abc.exe"
If I run this BAT file, the BAT itself will terminate, but it will spawn another cmd Windows, running the listener. So all is fine.
But when this is incorporated into TFS Build Definition, the work-flow would wait for the completion of this process, and the entire flow would hang.
I've tried with various switches for both START and CMD so that the work-flow can continue with the listener running, but to no avail.