# How to stop the execution of the program node

**URL:** <https://forum.universal-robots.com/t/how-to-stop-the-execution-of-the-program-node/2339>\
**Category:** URCap Development\
**Created:** [July 19, 2018, 6:26am UTC](https://forum.universal-robots.com/t/how-to-stop-the-execution-of-the-program-node/2339 "2018-07-19T06:26:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon81989367](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@anon81989367](https://forum.universal-robots.com/u/anon81989367)\
**Post date:** [July 19, 2018, 6:26am UTC](https://forum.universal-robots.com/t/how-to-stop-the-execution-of-the-program-node/2339/1 "2018-07-19T06:26:47Z")

</div>

Hi to everyone i finished my ur cap but i can’t stop the execution of a specific program node.  
The problem is that my program node do all the stuff which but didn’t quit after that and all the program stops.  
I thinks it rregards the generate script method but i didn’t know ho to stop it  
Thanks for help!!!

---

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [July 19, 2018, 7:20am UTC](https://forum.universal-robots.com/t/how-to-stop-the-execution-of-the-program-node/2339/2 "2018-07-19T07:20:54Z")

</div>

Could you maybe be a bit more specific? I.e. posting a code snippet from your URCap or refer to in what way your program node seems to keep executing?
