DefaultApplication.jl icon indicating copy to clipboard operation
DefaultApplication.jl copied to clipboard

Document URL support

Open fonsp opened this issue 5 years ago • 7 comments

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

fonsp avatar Sep 02 '20 13:09 fonsp

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

tpapp avatar Sep 02 '20 15:09 tpapp

I checked it and it works 👍

fonsp avatar Sep 02 '20 17:09 fonsp

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

fonsp avatar Sep 02 '20 17:09 fonsp

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.

tpapp avatar Sep 03 '20 06:09 tpapp

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 :(

fonsp avatar Sep 03 '20 09:09 fonsp

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).

tpapp avatar Sep 03 '20 09:09 tpapp

Makes sense, thanks!

fonsp avatar Sep 03 '20 09:09 fonsp