FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Invoke-EditorServicesProcess function by SeeminglyScience · Pull Request #2 · SeeminglyScience/EditorServicesProcess · GitHub

Repository navigation

Add Invoke-EditorServicesProcess function - #2

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

SeeminglyScience merged 2 commits into
masterfrom
add-invoke-editorservicesprocess

Conversation

Copy link
Copy Markdown
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 merged commit d5ea789 into master Jul 14, 2017
SeeminglyScience deleted the add-invoke-editorservicesprocess branch July 14, 2017 21:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL