How to stop a running script?

Jean
Jean Member Posts: 34
10 Comments 5 Likes First Anniversary Name Dropper
**

Hi,

I develop a script which can run during many minutes/hours.
But sometimes, it could be useful to stop the running script, but I don't know how to do this.

Any idea ?

Regards,
Jean

Answers

  • James Derrick
    James Derrick Administrator, Employee Posts: 314
    Ancient Membership 100 Comments 100 Likes 25 Answers
    admin

    Hi @Jean this might be more of a Python question. How do you want to trigger the stop?

  • Jean
    Jean Member Posts: 34
    10 Comments 5 Likes First Anniversary Name Dropper
    **

    Hi @James Derrick
    Indeed, it's more of a Python question.
    I finaly found a solution, using thread.