- Fixed an issue where depending on your Windows configuration, the conversion commands would fail. (#7)
- Simplified the code that created the conversion commands
Thank you to @daffaromero and @virsagomk2 for bringing this issue to my attention in Issues and providing useful troubleshooting information and @NickBromley for his help via the a11y Slack Community (https://accessibility.github.io/a11yslack/)
Background information:
Unless specified explicitly, nodejs executes commands using your default command shell, which depending on your Windows configuration could be either cmd.exe
or powershell.exe
The commands in PEAT Media Converter were designed to run in cmd.exe
so for users where powershell.exe
was the default, every conversion would fail.
This release explicitly sets the command shell to be used as cmd.exe