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

backport #881 in a different way #884

Merged

Conversation

TylerLeonhardt
Copy link
Member

Since legacy still supports v3/4, we don't have access to the NamedPipeConnectionInfo type.

This will grab that and call CreateRunspace via reflection.

This change is only going into legacy... in master it was implemented without reflection in #881.

@TylerLeonhardt
Copy link
Member Author

@SeeminglyScience I got rid of activator in favor of calling the constructor directly.

@TylerLeonhardt TylerLeonhardt merged commit a96b282 into PowerShell:legacy/1.x Mar 21, 2019
@TylerLeonhardt TylerLeonhardt deleted the NamedPipeConnectionInfo branch March 21, 2019 21:56
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