Skip to content

Commit a4c81c9

Browse files
committed
Remove TERM_PROGRAM as it may cause a hang
1 parent d6a048b commit a4c81c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bash_kernel/kernel.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ def _start_bash(self):
107107

108108
# Disable bracketed paste (see <https://github.com/takluyver/bash_kernel/issues/117>)
109109
self.bashwrapper.run_command("bind 'set enable-bracketed-paste off' >/dev/null 2>&1 || true")
110-
# Set TERM_PROGRAM and TERM_PROGAM_VERSION. See <https://github.com/takluyver/bash_kernel/issues/117#issuecomment-1032738154>
111-
self.bashwrapper.run_command(f"export TERM_PROGRAM='jupyter_bash_kernel'; export TERM_PROGRAM_VERSION='{__version__}';")
112110
# Register Bash function to write image data to temporary file
113111
self.bashwrapper.run_command(image_setup_cmd)
114112

0 commit comments

Comments
 (0)