angr / angr/angr-management

Support Ctrl-C to interrupt console

Aperta
#319 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
1.2k
Fork
131
Merge medio
1g 11h
PR unite (30g)
14

Descrizione

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]:

```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.