# Interrupt an infinite loop in python script?

**URL:** <https://forum.inductiveautomation.com/t/interrupt-an-infinite-loop-in-python-script/87660>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting\
**Created:** [March 20, 2024, 7:32pm UTC](https://forum.inductiveautomation.com/t/interrupt-an-infinite-loop-in-python-script/87660 "2024-03-20T19:32:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Felipe\_CRM](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@Felipe\_CRM](https://forum.inductiveautomation.com/u/Felipe_CRM)\
**Post date:** [March 20, 2024, 7:59pm UTC](https://forum.inductiveautomation.com/t/interrupt-an-infinite-loop-in-python-script/87660/2 "2024-03-20T19:59:21Z")

</div>

This thread should be helpful here:

> [@While Loop in Binding does not stop the Script when removed](https://forum.inductiveautomation.com/t/while-loop-in-binding-does-not-stop-the-script-when-removed/78825/6):
>
> I thought I had been able to kill someone else's infinite loop scripts using the gateway's Status | Diagnostics | Running Scripts | Cancel. This didn't require a gateway restart as far as I can remember.

---

_[View the full topic](https://forum.inductiveautomation.com/t/interrupt-an-infinite-loop-in-python-script/87660)._
