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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LucasArona
Copy link

@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

… DotSource operator

Add support to switch the ExecuteMode from DotSource to Call
@LucasArona
Copy link
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.

1 participant