xdg-open: support multiple command-line arguments
Submitted by Reuben Thomas
Assigned to Portland Bugs
Description
Created attachment 127614 Add multiple argument support to xdg-open
Attached, a patch against current git to extend xdg-open to support multiple command-line arguments.
Some use cases (e.g. Emacs's dired launcher) assume a command that can launch multiple files/URLs at once.
In case of error, the first error is returned, but xdg-open continues to process the rest of its arguments.
I also attach a related patch that removes documentation of error code 3 (one of the files passed on the command line does not exist), which is never used by xdg-open.
Patch 127614, "Add multiple argument support to xdg-open":
0003-xdg-open-support-multiple-arguments.patch