Open knuesel opened 4 years ago
This doesn't reproduce for me.
I can still reproduce it on Linux with slightly different steps (tested on the current master 9af12d3703):
@less sin(1)
. It shows the code in the pager.Ctrl-C
. It doesn't exit the page.Ctrl-C
a few times. It exits the pager with WARNING: Force throwing a SIGINT
.Enter
. It looks like the REPL is in a corrupt state: it shows "(END)" at the bottom. The less
instance is still running and reading from the keyboard.q
. The prompt doesn't look quite right.Ctrl-C
then Enter
. Julia crashes.I suppose it depends on the pager you end up using.
We have handling for this in open(``)
, so perhaps we should add that same handling to run(wait=true)
Steps to reproduce:
@less sin(1)
q
to exit less. Julia hangs.A workaround for this particular case is to start Julia with
PAGER='less -K'
, to makeless
exit on Ctrl-C.Related issue: https://github.com/JuliaLang/julia/pull/14032