forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
Seems like this bit was missed:

Feel free to also add it in the iteration planning board. Note we should not be using the OUTPUT_MARKER_SCRIPT for running/debugging files, so add an option in this API
vscode-python/src/client/pythonEnvironments/common/environmentManagers/conda.ts
Lines 408 to 420 in 3b114e3
| public async getRunPythonArgs(env: CondaEnvInfo): Promise<string[] | undefined> { | |
| const condaVersion = await this.getCondaVersion(); | |
| if (condaVersion && lt(condaVersion, CONDA_RUN_VERSION)) { | |
| return undefined; | |
| } | |
| const args = []; | |
| if (env.name) { | |
| args.push('-n', env.name); | |
| } else { | |
| args.push('-p', env.prefix); | |
| } | |
| return [this.command, 'run', ...args, '--no-capture-output', 'python', OUTPUT_MARKER_SCRIPT]; | |
| } |
cc/ @karthiknadig
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded