How to stop a running python script?

Posted on
Sun Mar 21, 2021 9:08 am
ryanbuckner offline
Posts: 1075
Joined: Oct 08, 2011
Location: Northern Virginia

How to stop a running python script?

I have a script that runs continuously. Indigo executes it and it runs a twitter bot for me. How do I stop it once it's running in the background and what is the preferred way to handle this?

Posted on
Sun Mar 21, 2021 10:02 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: How to stop a running python script?

Is it integrated with Indigo? Is it reading or writing Indigo variables? If so, have it test a variable every loop to see if it should exit.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Mar 21, 2021 4:25 pm
ryanbuckner offline
Posts: 1075
Joined: Oct 08, 2011
Location: Northern Virginia

Re: How to stop a running python script?

it is. Great idea! I'll do that.


*** update, worked like a charm. Thanks!!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests