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

Error: 'powershell' is not recognized as an internal or external command #75

Open
8o8inCodes opened this issue Jan 29, 2018 · 4 comments
Labels
Help Wanted Looking for someone to contribute a solution. OS:Windows

Comments

@8o8inCodes
Copy link

So in my case while trying to run the example it gave me this error:

Error: 'powershell' is not recognized as an internal or external command

In order to fix it, I went to the "win32.js" at "say/platform/win32.js" and changed the "COMMAND" constant from 'powershell' to 'start /b powershell'

That fixed the issue.

@steveboatface
Copy link

Adding powershell to the path fixed it for me

@8o8inCodes
Copy link
Author

@steveboatface There's a problem with that, not everyone would like to add powershell to their paths, they want to just install and use the package.

@steveboatface
Copy link

@8o8inCodes, is there a way to do it so that power shell is not required in windows?
I AM having problems with the stop function. It will end the child process of the event, but not the child process (power shell) that gets kicked off in Windows, so speech runs on.

@tlhunter tlhunter added the Help Wanted Looking for someone to contribute a solution. label Jun 19, 2018
@Gerhut
Copy link

Gerhut commented Aug 25, 2021

Another old-fashioned option is to use Windows Scripting Host (cscript.exe) to run a VBScript file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Looking for someone to contribute a solution. OS:Windows
Projects
None yet
Development

No branches or pull requests

4 participants