Bug 98498 - xdg-open: support multiple command-line arguments
Summary: xdg-open: support multiple command-line arguments
Status: RESOLVED MOVED
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: 2019-02-16 13:37 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

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.