Commandline arguments mangled #882

Closed
opened 2026-01-29 16:23:52 +00:00 by claunia · 3 comments
Owner

Originally created by @agowa on GitHub (Dec 22, 2025).

Hi,

manually set command line arguments may be mangled. It appears like when someone adds multiple instances of the same parameter but with different values only the very last is actually passed to the executable.

Steps to reproduce:

  1. Insert disk into drive.
  2. Start MPF
  3. Select drive and redumper as the dumping program
  4. Edit the parameters and add e.g. --skip=5000-5100 --skip=6000-6100
  5. Hit "Start Dumping"
  6. ====> Observe the command line logged at the very top of the console window and log file. Only --skip=6000-6100 was passed to redumper.
Originally created by @agowa on GitHub (Dec 22, 2025). Hi, manually set command line arguments may be mangled. It appears like when someone adds multiple instances of the same parameter but with different values only the very last is actually passed to the executable. Steps to reproduce: 1. Insert disk into drive. 2. Start MPF 3. Select drive and redumper as the dumping program 4. Edit the parameters and add e.g. `--skip=5000-5100 --skip=6000-6100` 5. Hit "Start Dumping" 6. ====> Observe the command line logged at the very top of the console window and log file. Only `--skip=6000-6100` was passed to redumper.
Author
Owner

@Deterous commented on GitHub (Dec 22, 2025):

To have multiple skip ranges with redumper, you need to have colon separated ranges, i.e. --skip=5000-5100:6000-6100
Two sets of --skip is invalid.

@Deterous commented on GitHub (Dec 22, 2025): To have multiple skip ranges with redumper, you need to have colon separated ranges, i.e. `--skip=5000-5100:6000-6100` Two sets of --skip is invalid.
Author
Owner

@agowa commented on GitHub (Jan 13, 2026):

Two sets of --skip is invalid.

@Deterous ehm, and why does it work when I invoke it that way from a CMD without MPF then???

@agowa commented on GitHub (Jan 13, 2026): > Two sets of --skip is invalid. @Deterous ehm, and why does it work when I invoke it that way from a CMD without MPF then???
Author
Owner

@Deterous commented on GitHub (Jan 13, 2026):

MPF is saving you here. Redumper will run just fine with two sets of --skip, but it won't actually do both skips

@Deterous commented on GitHub (Jan 13, 2026): MPF is saving you here. Redumper will run just fine with two sets of --skip, but it won't actually do both skips
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#882