xdg-open does not exit if it does not recognize the mimetype
Submitted by Danny Arnold
Assigned to Portland Bugs
Description
How to reproduce:
$ touch index.html
$ xdg-open index.html#test
xdg-mime: file 'index.html#test' does not exist
xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
Could not determine mimetype for file: index.html#test
The process simply never returns, which breaks any app that calls xdg-open synchronously (like github atom).
Version: xdg-open 1.1.0 rc3
Version: 1.1.0 rc3