-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
rexpect interact(), giving control back to the user #30
Comments
as a Rust newbie I was able to create kind of a POC for my ssh repl, my only problem is it doesn't feel very much like a standard ssh session with command/path expansion and so. There is definitely a better way. Nevertheless, I'm going to provide my piece of code for someone like me, as inspiration (this is my specific case ofc, not too much generic)..
|
@chama-chomo, your workaround looks good, but it's still not perfect. |
We've implemented an You can have a look at the code here: https://github.com/prefix-dev/pixi/pull/316/files There were some changes:
We've gone through a few iterations with this code and are reasonably happy with it now. I am not sure what the appetite is for these changes in |
Is there any way to return control of the terminal back to the user ? e.g. after connecting to a remote server. Thanks.
In python
pexpect
I useinteract()
method to achieve this.The text was updated successfully, but these errors were encountered: