- May
- 13,126
- 180
In debugging a GUI app, heartbeat.exe, I successfully used the "TASKEND /F %@pid[heartbeat.exe]" many times (in the same instance of TCC). Then, for no apparent reason,
For emphasis:
Later (same TCC session) when audiodg.exe had stopped and was restarted with a new PID, things started working correctly again.
I have no clue how to try to debug this except to try, appropriately, to kill the task which follows audiodg.exe in the TASKLIST. I'll keep my eyes open.
Code:
l:\projects\heartbeat\release> taskend /f %@pid[heartbeat.exe]
Cannot end process #9448 [audiodg]
For emphasis:
Code:
l:\projects\heartbeat\release> tasklist
0 [System Process]
**** SNIP ****
9552 conhost
7132 vcpkgsrv
25952* tcc 13.04 [25952] l:\projects\heartbeat\release
54660 conhost
9448 audiodg
17444 heartbeat
27836 taskmgr Windows Task Manager
l:\projects\heartbeat\release> echo %@pid[heartbeat.exe]
9448
Later (same TCC session) when audiodg.exe had stopped and was restarted with a new PID, things started working correctly again.
I have no clue how to try to debug this except to try, appropriately, to kill the task which follows audiodg.exe in the TASKLIST. I'll keep my eyes open.