mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-08 21:31:47 +00:00
[Problem] MPF.CLI is unable to handle spaces in drive path #735
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Daja177 on GitHub (Aug 16, 2024).
Originally assigned to: @mnadareski on GitHub.
Version
WIP release (3.2.1-426717102d69a09f65faa792a7f36560520ea6a5)
Build
.NET 8.0 running on Linux x64
Describe the issue
MPF.CLI sends the drive path to Redumper without quotation marks, resulting in Redumper (and possibly other dumping programs) being unable to dump from a path that contains a space. Giving MPF.CLI a path like
/run/media/daniel/Läsning 6-7results in Redumper attempting to dump from/run/media/daniel/Läsning.Output:
It also happens when I type
-d "/run/media/daniel/Läsning 6-7".To Reproduce
Steps to reproduce the behavior:
Expected behavior
Redumper should attempt to dump from the complete path rather than just the part up until the space in the path.
Additional context
This issue isn't particularly important as there are very few cases where the drive path would contain a space. I only discovered this issue because I mistakenly thought giving MPF.CLI the mount path would work.