cancel
Showing results for 
Search instead for 
Did you mean: 

BP not killing SAP process in VDI

SnehaS_Ananda
Level 2
I have an object with Launch/attach/kill SAP process. The objects/processes using this object runs without any issues while using my system as a resource. The same object run in the VDI - SAP gets launched when there is no instance running. But the same object is not killing the SAP process when the action of "Kill Process" is called. Please let me know how i can resolve this issue.
1 REPLY 1

John__Carter
Staff
Staff
Check that the process is not running too fast. Closing or killing an app is not instantaneous and sometimes you can find yourself trying to relaunch too soon, before the previous instance has gone away. A simple solution is to introduce a small pause after Terminate. A better solution is to wait in a loop until Is Connected reads False. Also not every app likes to be terminated, and it's better to close some down more gently, like a human would do. Terminate is the same a Task Manager Kill and can be too brutal for some apps.