When vgm2x is given a file path containing spaces, it either crashes with a segfault (exit code 139) or silently produces no output.
To reproduce
# This fails silently (no output, exit code 0):
vgm2x -m OPM "/path/to/02 - Green Hill Zone.vgz"
# Workaround - copy to file without spaces:
cp "/path/to/02 - Green Hill Zone.vgz" /tmp/test.vgz
vgm2x -m OPM /tmp/test.vgz # Works correctly
Expected behavior
vgm2x should handle filenames with spaces, or provide a clear error message.
Environment
- macOS 13 (Ventura), Apple Silicon (arm64)
- vgm2x built from source (current master)
Workaround
Copy files to a temp location with a simple filename, extract, then rename output files.
When vgm2x is given a file path containing spaces, it either crashes with a segfault (exit code 139) or silently produces no output.
To reproduce
Expected behavior
vgm2x should handle filenames with spaces, or provide a clear error message.
Environment
Workaround
Copy files to a temp location with a simple filename, extract, then rename output files.