aws-elastic-beanstalk-cli-setup
aws-elastic-beanstalk-cli-setup copied to clipboard
Use UTF-8 as encoding for powershell activation script
- Fixes activation script failing when user profile path on Windows systems contains non-ANSI characters such as æøå.
- Python defaults to writing the file with ANSI encoding, this change will write the powershell script as UTF-8 with BOM. Supported by Python 2.7 and above.
Without this fix running eb in powershell will fail with the following: The term 'C:\Users\B�rdKalbakk.ebcli-virtual-env\Scripts\activate.ps1' is not recognized as a name of a cmdlet, function,
| script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct
| and try again.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.