When I do something like
while True:
print('loop')
and execute that code in sublime I am not able to stop it. I have to manually kill the process and restart sublime.
Is there a way of setting some kind of 'max_execution_time' or any other workaround which allow us to stop this nicely?

Ctrl + Cshould act as a keyboard interrupt. - Malik Brahimistop buildbut does nothing ... I just usepstreein terminal to see what sublime is hung on and kill that child process :( - nhed