mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-27 07:10:30 -04:00
Notebooks: Support User-Installed Kernels (#10194)
* Fixes for attach to. Still need to update cache * Don't have jupyter hardcoded * Handle DOTNET_ROOT env var * Fix on load * Put behind feature flag * Cleanup * Error check * PR feedback
This commit is contained in:
@@ -332,6 +332,12 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
|
||||
let env = Object.assign({}, process.env);
|
||||
delete env['Path']; // Delete extra 'Path' variable for Windows, just in case.
|
||||
env['PATH'] = this.pythonEnvVarPath;
|
||||
|
||||
// We don't want Jupyter to know about DOTNET_ROOT, as it's been modified by the liveshare experience
|
||||
// Without this, won't be able to find the ASP.NET bits
|
||||
if (process.env['DOTNET_ROOT']) {
|
||||
delete env['DOTNET_ROOT'];
|
||||
}
|
||||
this.execOptions = {
|
||||
env: env
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user