bash_kernel
bash_kernel copied to clipboard
fix pexpect usage
pexpect wasn't finding the right prompt match and the kernel would then timeout on the jupyter side and get killed.
ping?
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.
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