Commit graph

10 commits

Author SHA1 Message Date
Mislav Marohnić
5b4a08dcb9 Ensure that only PATH is searched when shelling out to external commands
Works around https://github.com/golang/go/issues/38736 for Windows.
2020-11-11 16:33:13 +01:00
Dimitris Apostolou
6f550b5d12
Fix typos 2020-10-04 22:16:30 +03:00
zacanger
f17d9672f5
fix(browser): show message if $BROWSER isn't in $PATH (#1749) 2020-09-23 12:17:54 +02:00
Sam Coe
9058feebec
Fix up structure for better testing 2020-09-16 17:19:11 +02:00
Sam Coe
fd1d09dfc2
Clean up linux logic to have better default logic 2020-09-16 16:56:47 +02:00
Sam Coe
7551139caf
Address PR comments 2020-09-16 16:04:58 +02:00
Sam Coe
dd1c24a20a
Use LookPath to determine if xdg-open exists 2020-09-16 15:52:34 +02:00
Sam Coe
6d111b2458
Use WSL2 detection to pick browser 2020-09-16 14:45:06 +02:00
Mislav Marohnić
8909a3e5c3 Try to avoid CodeQL warning
https://github.com/cli/cli/pull/1415/checks?check_run_id=904308295
2020-07-23 23:11:24 +02:00
Mislav Marohnić
fe7cdd8ab7 Extract web browser launching to a package
This fixes opening URLs with `&` on Windows.
2020-01-29 11:49:38 +01:00