maubot / exec

A maubot plugin to execute code.
GNU Affero General Public License v3.0
11 stars 3 forks source link

Can't escape an infinite loop #1

Open EmergencyTemporalShift opened 3 years ago

EmergencyTemporalShift commented 3 years ago

If you do something like:

!exec
```python
while True:
    pass
\```

It will loop forever and you cannot stop it.

I suggest "!exec halt" to perform a control + C interrupt and "!exec kill" to kill running programs.