Skip to content

Add a setting to launch scripts with the Call operator instead of DotSource - Fixes #4327#5036

Closed
LucasArona wants to merge 0 commit into
PowerShell:mainfrom
LucasArona:main
Closed

Add a setting to launch scripts with the Call operator instead of DotSource - Fixes #4327#5036
LucasArona wants to merge 0 commit into
PowerShell:mainfrom
LucasArona:main

Conversation

@LucasArona
Copy link
Copy Markdown
Contributor

@LucasArona LucasArona commented Sep 9, 2024

Add support to switch the ExecuteMode from DotSource to Call

PR Summary

This PR adds a new setting to allow the user to configure how scripts are launched, either through the Dot-Source operator (default, current behavior), or through the Call operator.

image

I'll also create a PR on PowerShellEditorServices to implement the server part.

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • [NA] PR has tests
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

@LucasArona
Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants