POV-Ray / povray

The Persistence of Vision Raytracer: http://www.povray.org/
GNU Affero General Public License v3.0
1.35k stars 282 forks source link

[BUG][UNIX] Failed to parse command line option with space in filename #448

Open jopadan opened 2 years ago

jopadan commented 2 years ago

Steps to reproduce:

wfpokorny commented 1 year ago

As a user, I agree it's a bug.

While there are forks where the unix quoting you show will work, in the current official v3.7, v3.8 and v4.0 branches, one must use non-standard quoting as in:

povray "\"thing1 -thing2.pov\""

or something like

povray "Input_File_Name=\"thing1 -thing2.pov\""

where sort of an ini file form is used on the command line. However, in an ini file one would use just:

Input_File_Name="thing1 -thing2.pov"