Skip to content

Commit

Permalink
Merge pull request #5 from minrk/empty-shell
Browse files Browse the repository at this point in the history
handle empty but defined SHELL env
  • Loading branch information
takluyver committed Apr 13, 2015
2 parents 924f945 + 2bddfb8 commit a7bd1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_notebook/terminal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from . import api_handlers

def initialize(webapp):
shell = os.environ.get('SHELL', 'sh')
shell = os.environ.get('SHELL') or 'sh'
terminal_manager = webapp.settings['terminal_manager'] = NamedTermManager(shell_command=[shell])
terminal_manager.log = app_log
base_url = webapp.settings['base_url']
Expand Down

0 comments on commit a7bd1bb

Please sign in to comment.