-
Couldn't load subscription status.
- Fork 240
Add the ability to use either . or & when launching script
#2177
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
Conversation
7f2d45f to
8ed7fb6
Compare
. or & when launching script (追記ここまで)
8ed7fb6 to
1112c70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got this edited and fixed, merging in before pre-release.
1112c70 to
ada1d5d
Compare
@LucasArona I added a unit test for this too. About to merge if it all passes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
...rator With a unit test!
ada1d5d to
c52e26d
Compare
Uh oh!
There was an error while loading. Please reload this page.
Add support to change how the scripts are launched (DotSource vs Call operator).
PR Summary
Adds the ExecuteMode property and the corresponding method to either use the DotSource operator or the Call operator when launching scripts.
Related to this PR:
(削除) PowerShell/vscode-powershell#5036 (削除ここまで)PowerShell/vscode-powershell#5059PR Context
See PowerShell/vscode-powershell#4327
It's not always desirable to alter the current scope, this PR allows the use of the Call operator when launching scripts.