-
Notifications
You must be signed in to change notification settings - Fork 18k
x/crypto/ssh: stuck in Wait on more than one command #44060
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
Comments
Please send SIGQUIT to your program and paste the entire output. Thank you. |
have you tried looking at the output? eg. |
@seankhliao Thanks for your quick response. And yes i have tried this one.There is one solution which is putting sleep between execution of two different commands but i guess that is not good for the performance. I am attaching relative code for your reference.Please let me know if there is any other solution. `package main import ( func main() {
}` |
so you just need to wait for the previous command to complete before sending more stuff to stdin (since the previous command may choose to read stdin) closing as it's not a bug in |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I am trying to connect to juniper device and need to enter into cli mode so It should return output of following commands.
What did you see instead?
This program get stucked while executing.
The text was updated successfully, but these errors were encountered: