/requeststop command not working

Hi all,
I'm trying to request stop using cmd to stop a particular process. I am getting the session id using GetSessionID() and then passing it to cmd "/requeststop <session id>" but IsStopRequested() is always coming as false. And when I "Request Stop" from control tower then it works fine. Anyone have any idea how to stop a process from another process?
 
Top