pop environment variables in subprocess

avoid kernel processes inheriting server security values
This commit is contained in:
MinRK
2014-08-22 18:04:28 -07:00
parent 936d385c47
commit 87eb96d22a
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ class Spawner(LoggingConfigurable):
hub = Any()
api_token = Unicode()
env_prefix = Unicode('IPY_')
env_prefix = Unicode('JPY_')
def _env_key(self, d, key, value):
d['%s%s' % (self.env_prefix, key)] = value