at master 1.1 kB view raw
1diff --git a/bash_kernel/kernel.py b/bash_kernel/kernel.py 2index 0496f1e..bd13c4f 100644 3--- a/bash_kernel/kernel.py 4+++ b/bash_kernel/kernel.py 5@@ -88,7 +88,7 @@ class BashKernel(Kernel): 6 @property 7 def banner(self): 8 if self._banner is None: 9- self._banner = check_output(['bash', '--version']).decode('utf-8') 10+ self._banner = check_output(['@bash@', '--version']).decode('utf-8') 11 return self._banner 12 13 language_info = {'name': 'bash', 14@@ -116,7 +116,7 @@ class BashKernel(Kernel): 15 # source code there for comments and context for 16 # understanding the code here. 17 bashrc = os.path.join(os.path.dirname(pexpect.__file__), 'bashrc.sh') 18- child = pexpect.spawn("bash", ['--rcfile', bashrc], echo=False, 19+ child = pexpect.spawn("@bash@", ['--rcfile', bashrc], echo=False, 20 encoding='utf-8', codec_errors='replace') 21 # Following comment stolen from upstream's REPLWrap: 22 # If the user runs 'env', the value of PS1 will be in the output. To avoid