Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ggerganov
· 6y ago · 0 comments
I’m just calling system() with “xdg-open” and url as argument. This is what a quick google search told me can be used for openning a browser from a C++ program. Maybe “xdg-open” is not available on Catalina. It is on Mojave I think.
Comments
[–]
ComputerGuru
6y ago
Use `open` instead of xdg-open on macOS.