diff options
author | Araq <rumpf_a@web.de> | 2011-11-07 23:25:34 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-07 23:25:34 +0100 |
commit | 0b4d5e45b9a6a78f1d661d119cd76f41fecaefea (patch) | |
tree | 5848807ddc889a5eea463108db8d1d7dd15955f5 /lib/pure/browsers.nim | |
parent | 0ce9d4960144468c12de493487ada62e8eb04f5d (diff) | |
download | Nim-0b4d5e45b9a6a78f1d661d119cd76f41fecaefea.tar.gz |
tester checks exitcode; osproc additions; DLL fixes; taint mode fixes
Diffstat (limited to 'lib/pure/browsers.nim')
-rwxr-xr-x | lib/pure/browsers.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/browsers.nim b/lib/pure/browsers.nim index 243c07dad..529071107 100755 --- a/lib/pure/browsers.nim +++ b/lib/pure/browsers.nim @@ -34,7 +34,7 @@ proc openDefaultBrowser*(url: string) = var u = quoteIfContainsWhite(url) for a in items(attempts): if execShellCmd(a & u) == 0: return - for b in getEnv("BROWSER").split(PathSep): + for b in getEnv("BROWSER").string.split(PathSep): try: # we use ``startProcess`` here because we don't want to block! discard startProcess(command=b, args=[url], options={poUseShell}) |