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

fallback to older powershell binary name if newer one is not installed #4540

Merged
merged 1 commit into from
Feb 3, 2018

Conversation

mwrock
Copy link
Contributor

@mwrock mwrock commented Feb 3, 2018

I realized that the newer windows launcher (not yet released) is not backwards compatible with supervisor versions 0.52.0 and under. This fixes that by falling back to the older powershell binary name if the newer one (pwsh.exe) which is pulled in via supervisors versions 0.53.0 and later does not exist.

Signed-off-by: mwrock matt@mattwrock.com

@mwrock mwrock requested a review from reset as a code owner February 3, 2018 02:46
@thesentinels
Copy link
Contributor

Thanks for the pull request! Here is what will happen next:

  1. Your PR will be reviewed by the maintainers
  2. If everything looks good, one of them will approve it, and your PR will be merged.

Thank you for contributing!

@mwrock
Copy link
Contributor Author

mwrock commented Feb 3, 2018

I've tested this launcher with the current supervisor and the newer one and verified the fallback works.

@reset
Copy link
Collaborator

reset commented Feb 3, 2018

Great catch!

@reset reset merged commit 362828c into master Feb 3, 2018
@reset reset deleted the back_compat_launcher branch February 3, 2018 03:29
@christophermaier
Copy link
Contributor

@mwrock 👍

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.

4 participants