-
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
The complete
command doesn't work with interactive commands
#8539
Comments
Does |
Nope this has the same behavior as described above. No output shows at first, then once |
Makes me wonder if it doesn't want
|
Yup that's the issue here. |
Related to Redirect |
I tried this on the latest main, and this variation seems to work for me: |
The reason the original one isn't working is because |
Thanks, that works indeed. I suppose for |
Seems like we need to document the reason for why/how On the other hand, this bash syntax is A LOT odd |
Hi there; Just a note that run-external works only with binaries but not builtin commands; ~/bin/nushell> run-external --redirect-stderr inspect 03/31/2023 02:22:15 AM
Error: nu::shell::external_command
× External command failed
╭─[entry #22:1:1]
1 │ run-external --redirect-stderr inspect
· ───┬───
· ╰── did you mean 'inspect'?
╰────
help: No such file or directory (os error 2) |
Related to this issue and with atuin, we found out this worked Good point @zhiburt. |
Describe the bug
complete
doesn't wait until interactive command finishes.It shows nothing at first. After pressing
Ctrl + C
, the interactive command's output shows up.In the test case below, the goal is to capture
stderr
of the command, viado { atuin search --interactive } | complete
.How to reproduce
Run
atuin search --interactive | complete
.Expected behavior
I expect
complete
to wait until the interactive command finishes.Screenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: