Custom runner stop statement


I have created a couple of custom runners which start processes and they work fine. However, I would also like to shut down these processes correctly in the IDE. I have seen examples of “cmd” and “cmdStop” which work fine, but is there an equivalent for “script” - “scriptStop” doesnt seem to work. Also, please could include these in the Docs?

Best wishes,