If you have the scenario where you have one or more tests in a single execution plan and they test against a single application under test, you should structure your testing as follows:
cmd
/c start cmd /c D:\sctm\dps\startDPS_Simple1.bat
"C:\Program Files (x86)\Micro Focus\DevPartner\Analysis\dpanalysis.exe" /cov /USE_AUTOMATION_INTERFACE /O "D:\SCTM\temp" /W "D:\SCTM\DPS\TESTAPP\SCTMCodeAnalysisTestApp\bin\Debug" /P "D:\SCTM\DPS\TESTAPP\SCTMCodeAnalysisTestApp\bin\Debug\SCTMCodeAnalysisTestApp.exe"
cmd
/c TASKKILL /IM SCTMCodeAnalysisTestApp.exe /F