File tree Expand file tree Collapse file tree
src/client/common/installer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ export abstract class ModuleInstaller implements IModuleInstaller {
105105 pythonPath ,
106106 args . concat ( [ '--user' ] ) ,
107107 token ,
108+ executionInfo . useShell ,
108109 ) ;
109110 }
110111 } else {
@@ -114,6 +115,7 @@ export abstract class ModuleInstaller implements IModuleInstaller {
114115 executionInfo . execPath ! ,
115116 executionInfoArgs ,
116117 token ,
118+ executionInfo . useShell ,
117119 ) ;
118120 }
119121 } ;
@@ -193,8 +195,8 @@ export abstract class ModuleInstaller implements IModuleInstaller {
193195 resource : InterpreterUri | undefined ,
194196 command : string ,
195197 args : string [ ] ,
196- token ? : CancellationToken ,
197- useShell ? : boolean ,
198+ token : CancellationToken | undefined ,
199+ useShell : boolean | undefined ,
198200 ) {
199201 const options : TerminalCreationOptions = { } ;
200202 if ( isResource ( resource ) ) {
You can’t perform that action at this time.
0 commit comments