[QUESTION] How do I interrupt a exec call? #5869
                  
                    
                      LucasBremm
                    
                  
                
                  started this conversation in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to make an application using python code and C++, but I need some kind of protection against infinite loops or too long executions. I tried following some threads and seeing how other people solved their issues, but couldn't find a working solution. I have this example code:
It's purposely an infinite loop in python, to try and stop it when timeout hits, but it never finishes, I got the following console response:
What can I do to correctly end the execution?
Beta Was this translation helpful? Give feedback.
All reactions