Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create terminal with environment variables using the new VSC api #4310

Closed
DonJayamanne opened this issue Feb 7, 2019 · 3 comments
Closed
Labels
area-environments Features relating to handling interpreter environments area-terminal feature-request Request for new features or functionality needs PR Ready to be worked on

Comments

@DonJayamanne
Copy link

Full control over createTerminal environment#
The new setting TerminalOptions.strictEnv when set to true will not make any modifications to the terminal environment at all, instead it will be used exactly as passed in by the extension.

// This will create a terminal whose environment only contains the single value
// FOO=BAR.
const terminal = createTerminal({
  name: "Test terminal",
  env: {
    "FOO": "BAR"
  },
  strictEnv: true
});
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Feb 7, 2019
@DonJayamanne
Copy link
Author

@qubitron /cc

@d3r3kk d3r3kk added feature-request Request for new features or functionality area-terminal needs decision labels Feb 7, 2019
@ghost ghost removed triage-needed Needs assignment to the proper sub-team labels Feb 7, 2019
@DonJayamanne
Copy link
Author

When users use the command Python: Create Terminal, we'll use the environment variables from .env files and provide them here.
Based on feedback, we might consider pushing changes upstream to VSC.

@karrtikr
Copy link

Closing in favor of #11039.

@karrtikr karrtikr closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-environments Features relating to handling interpreter environments area-terminal feature-request Request for new features or functionality needs PR Ready to be worked on
Projects
None yet
Development

No branches or pull requests

4 participants