Bug 98498 - xdg-open: support multiple command-line arguments
Summary: xdg-open: support multiple command-line arguments
Status: NEW
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-30 07:32 UTC by Reuben Thomas
Modified: 2016-10-30 07:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Add multiple argument support to xdg-open (4.46 KB, patch)
2016-10-30 07:32 UTC, Reuben Thomas
Details | Splinter Review
xdg-open: remove documentation for unused exit code (813 bytes, patch)
2016-10-30 07:33 UTC, Reuben Thomas
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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


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.