1.8.8: Extra blank parameter added to command line of programs launched using Open with menu
Posted: Sun Apr 20, 2025 11:40 am
Subject: 1.8.8: Extra blank parameter added to command line of programs launched using Open with menu
XnView: MP 1.8.8 - 64 bit
OS: Ubuntu Linux 22.04 LTS (64bit)
Launching a program using an open with menu ads an extra parameter in it's command line, triggering an error in some programs. Extra command line parameter is shown when inspecting the Linux proc filesystem for affected external program.
Effect: External program displays an error 
To reproduce:
Expected behaviour: No extra unneded parameter for external programs, external program does not show an error
XnView: MP 1.8.8 - 64 bit
OS: Ubuntu Linux 22.04 LTS (64bit)
Launching a program using an open with menu ads an extra parameter in it's command line, triggering an error in some programs. Extra command line parameter is shown when inspecting the Linux proc filesystem for affected external program.
Code: Select all
$ xargs -0 -I{} echo \"{}\" < /proc/$(pidof gimp)/cmdline
"/usr/bin/gimp"
"/home/juozas/Paveikslai/image.jpg"
""

To reproduce:
- Add an external command using File->Open with->Configure programs menu
- Open an image in viewer or have it selected in browser
- Use the File->Open with->[program name] menu

Expected behaviour: No extra unneded parameter for external programs, external program does not show an error