From 7ca96e5c6cb0f61f6c8f95aa1315741aa7f425e1 Mon Sep 17 00:00:00 2001 From: James Davidheiser Date: Thu, 19 Mar 2015 17:50:53 -0700 Subject: [PATCH] spawner.py update for default shell Update spawner.py to do a better job keeping the shell variable intact for terminals launched from within the notebook. --- jupyterhub/spawner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jupyterhub/spawner.py b/jupyterhub/spawner.py index 4b20f578..498a0846 100644 --- a/jupyterhub/spawner.py +++ b/jupyterhub/spawner.py @@ -81,6 +81,7 @@ class Spawner(LoggingConfigurable): 'VIRTUAL_ENV', 'LANG', 'LC_ALL', + 'SHELL' ], config=True, help="Whitelist of environment variables for the subprocess to inherit" )