We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 924f945 + 2bddfb8 commit a7bd1bbCopy full SHA for a7bd1bb
jupyter_notebook/terminal/__init__.py
@@ -13,7 +13,7 @@
13
from . import api_handlers
14
15
def initialize(webapp):
16
- shell = os.environ.get('SHELL', 'sh')
+ shell = os.environ.get('SHELL') or 'sh'
17
terminal_manager = webapp.settings['terminal_manager'] = NamedTermManager(shell_command=[shell])
18
terminal_manager.log = app_log
19
base_url = webapp.settings['base_url']
0 commit comments