jmaxwilson / vscode-povray

A Visual Studio Code extension to allow you to edit Persistence of Vision Ray Tracer (POV-Ray) Scene files and render them using the integrated terminal
MIT License
12 stars 2 forks source link

BugFix: Handle Paths and Filenames that Contain Spaces #11

Closed jmaxwilson closed 5 years ago

jmaxwilson commented 5 years ago

Mostly Fixes issue https://github.com/jmaxwilson/vscode-povray/issues/10

Known remaining issue: On Windows using Powershell as the integrated terminal, if the outputPath setting has a path with a space in one of the path names ("./out put", "C:\pov\my scenes\output"), POV-Ray fails to honor the output path or fails to render. Spaces in path names work properly on all other supported platforms and terminals.

Changes to support paths and filenames that contain spaces. Added a test-scene folder that contains scene files for testing rendering Updated unit tests to match changes to support spaces, added new unit tests Disable extensions when running unit tests Recognize wsl as well as bash when determining isWindowsBash