tpapp/DefaultApplication.jl

Document URL support

fonsp opened this issue · 7 comments

fonsp commented

This package already supports opening URLs by simply passing a URL instead of a path

tpapp commented

I know that xdg-open (Linux) and open (OS X) support URLs, but is this documented for cmd.exe?

fonsp commented

I checked it and it works 👍

fonsp commented

I can't find any documentation (the docs for start don't mention the feature) but there's this:

https://superuser.com/questions/36728/can-i-launch-urls-from-command-line-in-windows

tpapp commented

I understand that empirically it works, but I am reluctant to suggest that the package guarantees it unless it is somehow documented, as we have no CI for Windows.

fonsp commented

Isn't a CI test just another empirical clue?

I tried finding the relevant docs again but I don't know what to search for :(

tpapp commented

For this package, CI and documentation complement each other. Ideally, documented behavior is checked with CI (that happens for Linux), but practically I am OK with either (which is what I do for OS X and Windows at the moment).

fonsp commented

Makes sense, thanks!