You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How can I break out of an error-redirected cmd? #6219
What I'm noticing is that whenever such a do cmd is executed, nushell just gets stuck.
CTRL-C has no effect either, all I've been able to do so far is restart my entire terminal, or at least nushell.
Assuming that that isn't a bug, how can I break out of this at will?
Basically I'm trying to wrap cargo install <CRATE>+ in it.
The reason for that is that cargo install writes its regular output to stderr rather than stdout, so if I want to incercept its output I don't have much of a choice.
In that case it might be because I'm running nushell inside of Zellij, which in turn runs in Alacritty (which nushell might not expect; I've been working on an assumption of "there are standards, it'll all play nice").
I'm trying to build a stack out of those components, for a superior UX relative to more legacy term/shell combo's eg Konsole and zsh in my case.
It's possible that the C-c gets intercepted along the way somewhere. But if that's the case, debugging this will not be so easy, as it will essentially have turned this issue into an Integration issue.
Activity
WindSoilder commentedon Aug 3, 2022
Would you please show what's your
my-command? I've tried some commands and can't reproduce your issuejjpe commentedon Aug 3, 2022
Basically I'm trying to wrap
cargo install <CRATE>+in it.The reason for that is that cargo install writes its regular output to stderr rather than stdout, so if I want to incercept its output I don't have much of a choice.
WindSoilder commentedon Aug 5, 2022
I can't reproduce your issue :-( And I can use CTRL-C to break the operation..
jjpe commentedon Aug 5, 2022
In that case it might be because I'm running nushell inside of Zellij, which in turn runs in Alacritty (which nushell might not expect; I've been working on an assumption of "there are standards, it'll all play nice").
I'm trying to build a stack out of those components, for a superior UX relative to more legacy term/shell combo's eg Konsole and zsh in my case.
It's possible that the
C-cgets intercepted along the way somewhere. But if that's the case, debugging this will not be so easy, as it will essentially have turned this issue into an Integration issue.WindSoilder commentedon Oct 12, 2022
Hi, @jjpe would you please check if it still hold under the latest main?
WindSoilder commentedon Oct 17, 2022
I think this issue can be closed :-)