mbutterick/quad

view-result fails when PDF path contains spaces

Closed this issue · 1 comments

The system command view-result runs doesn't use a quote around the path, so a path with a space doesn't work correctly. I think you just need quotes around ~a in the following code:

[(macosx) "open ~a"]
[(windows) "start ~a"]
[(unix) "xdg-open ~a &> /dev/null"]
.

Thanks!