-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nushell breaks after exiting elixir's shell iex #9078
Comments
i've seen that |
Hello |
Would it be possible to reopen this ticket? While it might work in OTP26, OTP25 is not yet deprecated and it's almost impossible to use Nushell with it. Steps to reproduce (using Nix)
Error:
|
This seems like a more general problem. I have noticed the same issue even though I do not use elixir. I have not been able to point the exact cause, possibly it is CLIs asking for user inputs or doing some pretty printing. More precisely, nushell frequently enters a state where
I have seen the Unsuccessful fixes:
Successful fixes:
|
I’m not entirely sure how Nushell is handling this, but it seems like something is opened and then not closed for some reason. In Elixir, it’s quite obvious — pressing Ctrl-C kills handlers, which might not be cleaning up because of this. I can’t assist much more right now, but I did check Erlang’s changelog, and these links might be helpful in figuring out why OTP25 is causing the issue while OTP26 isn’t:
Skimming through these, this comment appears to describe the core issue and could help with debugging it in related scenarios. |
Describe the bug
Hi while using the elixir programming language there is the
iex
(elixir interactive shell)after you exit the shell the
ls
command is broken.This happens and fresh install of nu using brew
I have noticed that nushell breaks only if the ls command returns more than 3 rows.
How to reproduce
Expected behavior
ls should not show error and should show all the files
Screenshots
No response
Configuration
Additional context
Darwin WGFJWY3Q6R 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:46 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6020 arm64
The text was updated successfully, but these errors were encountered: