Bug 98498

Summary: xdg-open: support multiple command-line arguments
Product: Portland Reporter: Reuben Thomas <rrt>
Component: xdg-utilsAssignee: Portland Bugs <portland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: medium CC: rrt
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:
Attachments: Add multiple argument support to xdg-open
xdg-open: remove documentation for unused exit code

Description Reuben Thomas 2016-10-30 07:32:40 UTC
Created attachment 127614 [details] [review]
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.
Comment 1 Reuben Thomas 2016-10-30 07:33:19 UTC
Created attachment 127615 [details] [review]
xdg-open: remove documentation for unused exit code
Comment 2 GitLab Migration User 2019-02-16 13:37:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/96.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.