Describe the bug
Can't preview .ps files with special characters in filename
To Reproduce
Steps to reproduce the behavior:
- Open a postscript file with special characters (like spaces or parentheses) in its name
- Click on 'Preview Postscript'
- See error 'Failed to execute ps2pdf. Report bug with postscript file to dev.'
Desktop (please complete the following information):
- OS: [Ubuntu]
- Version [24.04.3 LTS]
Extension Host Logs
Watching /home/aria/test_data/test(+)ss.ps
--- GhostScript Errors/Warnings ---
/bin/sh: 1: Syntax error: "(" unexpected
Additional context
test ss.ps will cause same error. test_ss.ps works normally.
Seems need to add text escape to filename.
Describe the bug
Can't preview .ps files with special characters in filename
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Extension Host Logs
Additional context
test ss.pswill cause same error.test_ss.psworks normally.Seems need to add text escape to filename.