tester checks exitcode; osproc additions; DLL fixes; taint mode fixes
This commit is contained in:
parent
0ce9d49601
commit
0b4d5e45b9
13 changed files with 210 additions and 81 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue