Skip to content

Commit e3aac92

Browse files
Kartik Rajkarthiknadig
Kartik Raj
authored andcommitted
Ensure commands run are not logged twice in Python output channel (microsoft#17697)
* Ensure commands run are not logged twice in Python output channel * News entry
1 parent 5a41d16 commit e3aac92

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

news/2 Fixes/7160.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Ensure commands run are not logged twice in Python output channel.

src/client/common/process/pythonExecutionFactory.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export class PythonExecutionFactory implements IPythonExecutionFactory {
8585
pythonPath = this.configService.getSettings(options.resource).pythonPath;
8686
}
8787
const processService: IProcessService = await this.processServiceFactory.create(options.resource);
88-
processService.on('exec', this.logger.logProcess.bind(this.logger));
8988

9089
const windowsStoreInterpreterCheck = (await inDiscoveryExperiment(this.experimentService))
9190
? // Class methods may depend on other properties which belong to the class, so bind the correct context.

0 commit comments

Comments
 (0)