mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-27 23:30:30 -04:00
Delete duplicate path variables when setting up Jupyter environment config. Also added additional error message info on jupyter start. (#4212)
This commit is contained in:
@@ -225,6 +225,7 @@ export default class JupyterServerInstallation {
|
||||
|
||||
// Store the executable options to run child processes with env var without interfering parent env var.
|
||||
let env = Object.assign({}, process.env);
|
||||
delete env['Path']; // Delete extra 'Path' variable for Windows, just in case.
|
||||
env['PATH'] = this.pythonEnvVarPath;
|
||||
this.execOptions = {
|
||||
env: env
|
||||
|
||||
Reference in New Issue
Block a user