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.
1 parent d68f79d commit c446df3Copy full SHA for c446df3
jupyter_client/manager.py
@@ -228,7 +228,7 @@ def start_kernel(self, **kw):
228
# build the Popen cmd
229
extra_arguments = kw.pop('extra_arguments', [])
230
kernel_cmd = self.format_kernel_cmd(extra_arguments=extra_arguments)
231
- env = os.environ.copy()
+ env = kw.pop('env', os.environ).copy()
232
# Don't allow PYTHONEXECUTABLE to be passed to kernel process.
233
# If set, it can bork all the things.
234
env.pop('PYTHONEXECUTABLE', None)
0 commit comments