Revision f235291fb6f55915253ef0ed6b483f2bbf18361e authored by Keno Fischer on 27 October 2023, 20:57:43 UTC, committed by GitHub on 27 October 2023, 20:57:43 UTC
I was intermittently observing the REPL precompile process not
finishing. What I believe was happening is the following:

1. The last line of the precompile script is
`cd("complete_path\t\t$CTRL_C`
2. As soon as child julia sees the `CTRL_C`, the prompt is terminated,
and a new prompt is echod.
3. The parent julia tries to complete the line by sending `\n`, and
immediately returns, because the child has already written a new prompt.
4. The child reads the `\n` and enters raw mode (ignoring things like
^D).
5. The parent tries to write `^D` to complete the process, but because
the child is still processing the `\n`, this `^D` is ignored and the
process hangs.

Try to fix this by not writing the superfluous `\n` if the precompile
line ends in `^C`.
1 parent 8a9476f
History
File Mode Size
ArgTools-4eccde45ddc27e4f7fc9094b2861c684e062adb2.tar.gz
DelimitedFiles-db79c842f95f55b1f8d8037c0d3363ab21cd3b90.tar.gz
Distributed-fdf56f429cd44da6d5d08cb5208bbf41d5b3d0a5.tar.gz
Downloads-8a614d592810b15d17885838dec61da244a12e09.tar.gz
JuliaSyntax-a9110fa8ecbe79943bb9525b4ccd99a3976cfcb7.tar.gz
LazyArtifacts-e9a36338d5d0dfa4b222f4e11b446cbb7ea5836c.tar.gz
NetworkOptions-aab83e5dd900c874826d430e25158dff43559d78.tar.gz
Pkg-75960e509763979f6aac7cf31942f70dd85b3b10.tar.gz
SHA-aaf2df61ff8c3898196587a375d3cf213bd40b41.tar.gz
SparseArrays-3582898a4efd3f504d39076f5a162b9ed1ebcdb2.tar.gz
Statistics-04e5d8916fae616f5ad328cf6a0b94cf883b8ba6.tar.gz
StyledStrings-61e7b105b157b40807ed0b4840166a25b0948549.tar.gz
SuiteSparse-e8285dd13a6d5b5cf52d8124793fc4d622d07554.tar.gz
Tar-81888a33704b233a2ad6f82f84456a1dd82c87f0.tar.gz
UnicodeData-13.0.0.txt
cacert-2023-01-10.pem
blastrampoline -rw-r--r-- 4.7 KB
clang -rw-r--r-- 16.3 KB
compilersupportlibraries -rw-r--r-- 14.4 KB
curl -rw-r--r-- 4.6 KB
dsfmt -rw-r--r-- 4.2 KB
gmp -rw-r--r-- 7.7 KB
ittapi -rw-r--r-- 283 bytes
lapack -rw-r--r-- 207 bytes
libgit2 -rw-r--r-- 4.4 KB
libssh2 -rw-r--r-- 4.4 KB
libtracyclient -rw-r--r-- 4.6 KB
libuv -rw-r--r-- 4.3 KB
libwhich -rw-r--r-- 287 bytes
lld -rw-r--r-- 16.1 KB
llvm -rw-r--r-- 37.5 KB
mbedtls -rw-r--r-- 4.3 KB
mozillacert -rw-r--r-- 0 bytes
mpfr -rw-r--r-- 4.2 KB
nghttp2 -rw-r--r-- 4.3 KB
objconv -rw-r--r-- 4.1 KB
openblas -rw-r--r-- 13.3 KB
openlibm -rw-r--r-- 4.4 KB
p7zip -rw-r--r-- 4.3 KB
patchelf -rw-r--r-- 217 bytes
pcre -rw-r--r-- 4.3 KB
suitesparse -rw-r--r-- 4.4 KB
unwind -rw-r--r-- 3.3 KB
utf8proc -rw-r--r-- 287 bytes
zlib -rw-r--r-- 4.3 KB

back to top