8000 Add Invoke-EditorServicesProcess function by SeeminglyScience · Pull Request #2 · SeeminglyScience/EditorServicesProcess · GitHub
[go: up one dir, main page]

Skip to content

Add Invoke-EditorServicesProcess function#2

Merged
SeeminglyScience merged 2 commits intomasterfrom
add-invoke-editorservicesprocess
Jul 14, 2017
Merged

Add Invoke-EditorServicesProcess function#2
SeeminglyScience merged 2 commits intomasterfrom
add-invoke-editorservicesprocess

Conversation

@SeeminglyScience
Copy link
Owner

This change adds the Invoke-EditorServicesProcess function. With this function you directly invoke PowerShell code in the Integrated Console from standard PowerShell.

Unlike the Enter-EditorServicesProcess, this function can be used in a non-interactive context. Additionally it will invoke directly in the default runspace, rather than a proxy runspace for the process.

  • Fixed an unhandled exception that occurred when VSCode was not open.

  • Moved most of the new runspace logic out of Enter-EditorServicesProcess and into a private function for maintainability.

This change adds the Invoke-EditorServicesProcess function.  With this
function you directly invoke PowerShell code in the Integrated Console
from standard PowerShell.

Unlike the Enter-EditorServicesProcess, this function can be used in
a non-interactive context. Additionally it will invoke directly in
the default runspace, rather than a proxy runspace for the process.

- Fixed an unhandled exception that occurred when VSCode was not open.

- Moved most of the new runspace logic out of Enter-EditorServicesProcess
  and into a private function for maintainability.
@SeeminglyScience SeeminglyScience merged commit d5ea789 into master Jul 14, 2017
@SeeminglyScience SeeminglyScience deleted the add-invoke-editorservicesprocess branch July 14, 2017 21:05
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

Comments

0