We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 681287a commit af9188bCopy full SHA for af9188b
1 file changed
src/extension.ts
@@ -434,12 +434,11 @@ export async function activate(context: ExtensionContext): Promise<PythonEnviron
434
try {
435
const petPath = await getNativePythonToolsPath();
436
const terminal = createTerminal({
437
- name: 'Python Environment Tool (PET)',
438
- shellPath: petPath,
439
- shellArgs: []
+ name: 'Python Environment Tool (PET)'
440
});
441
terminal.show();
442
- traceInfo(`Created terminal with PET: ${petPath}`);
+ terminal.sendText(`"${petPath}"\n`);
+ traceInfo(`Running PET in terminal: ${petPath}`);
443
} catch (error) {
444
traceError('Error running PET in terminal', error);
445
window.showErrorMessage(`Failed to run Python Environment Tool: ${error}`);
0 commit comments