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

Powershell script not using latest Powershell version installed #5

Open
jim-edwards opened this issue Jan 18, 2023 · 0 comments
Open

Comments

@jim-edwards
Copy link

The HASS.agent appears to only be able to use the "system" powershell version. Calling functions that are available in newer versions of power-shell, even if in the system path, will not work and gives various syntax errors. Calling "pwsh <script>" inside the application produces an error saying "Set-PSReadLineOption: ", "The predictive suggestion feature cannot be enabled because the console output doesn't support virtual terminal".

It would be nice if we could select which powershell would be used, or some way to override the default system one.

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

No branches or pull requests

1 participant