Closed CFiggers closed 10 months ago
Reproduced the hang here under Windows.
Seems fine since the commit got reverted. Tested with c708ff9708786f06744f92904dd5e2c0d2dd58a2.
Also tested and working with c708ff9 .
Thanks, @bakpakin ! Happy to close this one resolved.
Starting with commit dccb60ba35009812045d9006b3cc90adb6574e4d , Janet hangs on Windows when running
janet bootstrap.janet
to install janet-lang/jpm.The issue arises from the
exec-slurp
function injpm/shutil.janet
. Starting with dccb60b,exec-slurp
(which contains calls toos/spawn
andev/gather
) never returns. Running the individual steps of that function with the same inputs at the REPL does not replicate the issue, but running the whole function at the REPL does.This behavior was tested on Linux (Ubuntu 22.04 inside of WSL) with the most recent commit (51a75e1872e30e2d1ff7f8e7e293a20dd8e821e4), and the problem did not occur.
Rolling back to any commit prior to dccb60b (such as ae642ceca03cc2f7c98e446edeaccf2a3fc43a7e , the one immediately prior) seems to fix this issue.