Skip to content
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

fix pexpect usage #69

Closed
wants to merge 1 commit into from
Closed

fix pexpect usage #69

wants to merge 1 commit into from

Conversation

zimbatm
Copy link
Contributor

@zimbatm zimbatm commented Nov 22, 2017

pexpect wasn't finding the right prompt match and the kernel would then
timeout on the jupyter side and get killed.

pexpect wasn't finding the right prompt match and the kernel would then
timeout on the jupyter side and get killed.

Use `bash --login` and assume that it's immediately there instead of
waiting for the first prompt.

Pass the unformatted `prompt_change` to the parent class as it's going
to take care of the formatting by itself. This will make it more
resitant to changes in pexpect.
@zimbatm
Copy link
Contributor Author

zimbatm commented Jan 21, 2021

ping?

@kdm9
Copy link
Collaborator

kdm9 commented Aug 24, 2022

I've recently taken on co-maintaining bash_kernel, and I'm currently closing all old/stale issues and PRs.

I'm closing this PR, as reading the diff I can't discern the purpose. Does the issue you were trying to solve persist with the latest version of bash_kernel? Please feel free to reopen this PR if it is still needed for you.

@kdm9 kdm9 closed this Aug 24, 2022
@zimbatm
Copy link
Contributor Author

zimbatm commented Aug 24, 2022

it's been a while, but see the commit message:

pexpect wasn't finding the right prompt match and the kernel would then
timeout on the jupyter side and get killed.

Use `bash --login` and assume that it's immediately there instead of
waiting for the first prompt.

Pass the unformatted `prompt_change` to the parent class as it's going
to take care of the formatting by itself. This will make it more
resitant to changes in expect.

I'm not using bash_kernel anymore so won't pursue this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants