parent
1e4093d949
commit
42d2c3088e
12 changed files with 135 additions and 19 deletions
|
|
@ -33,6 +33,9 @@ proc openDefaultBrowser*(url: string) =
|
|||
## used to determine the default browser to use.
|
||||
##
|
||||
## This proc doesn't raise an exception on error, beware.
|
||||
##
|
||||
## .. code-block:: nim
|
||||
## block: openDefaultBrowser("https://nim-lang.org")
|
||||
when defined(windows):
|
||||
var o = newWideCString(osOpenCmd)
|
||||
var u = newWideCString(url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue