Skip to content

Commit 92da6ac

Browse files
committed
fix: stop waiting for browsers
1 parent 737309d commit 92da6ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PkgAuthentication.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,11 @@ function open_browser(url::AbstractString)
521521
return false
522522
end
523523
elseif Sys.iswindows()
524-
run(`cmd /c "start $url"`)
524+
run(`cmd /c "start $url"`; wait=false)
525525
elseif Sys.isapple()
526-
run(`open $url`)
526+
run(`open $url`; wait=false)
527527
elseif Sys.islinux() || Sys.isbsd()
528-
run(`xdg-open $url`)
528+
run(`xdg-open $url`; wait=false)
529529
end
530530
catch err
531531
@warn "There was a problem opening the authentication URL in a browser, please try opening this URL manually to authenticate." url, error = err

0 commit comments

Comments
 (0)