-
Notifications
You must be signed in to change notification settings - Fork 3.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
Get only last line of uname -sm
output on remote server
#25383
base: main
Are you sure you want to change the base?
Conversation
We require contributors to sign our Contributor License Agreement, and we don't have @foxtran on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
@foxtran thanks! Also, there are likely to be other places confused by this extra echo, as due to the way ssh works we end up doing a lot of IO over stdin/stdout; with this fixed does your setup work? |
Not exactly, but these errors come not from extra "echo" in
The other places of run_command does not try to parse the output so this part works fine. |
Right, but when we start the SshSession we read the output and assume it is photo-bufs: zed/crates/remote/src/ssh_session.rs Lines 1689 to 1712 in 67a4955
I suspect this code is also broken in the same way, and less clear how to fix. I wonder if a better fix could be to notice: |
Closes #25382
Release notes:
.bashrc
writes to stdout.