angr / angr/angr-management

Support Ctrl-C to interrupt console

Abierto
#319 5 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
1.2k
Forks
131
Merge medio
1 d 11 h
PR fusionados (30 d)
14

Descripción

Long running tasks in the console cannot be interrupted from within the GUI console view (e.g. a while(1)). However, I can Ctrl-C within the terminal that I launched angr-management from and it will stop the task.

I think *the right thing* to do here is to respond to Ctrl-C (or whatever binding) as IPython would when launched from a terminal:

```
In [1]: while True:
...: pass
...:
^C---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
in
1 while True:
----> 2 pass
3

KeyboardInterrupt:

In [2]:

```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.