Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is awesome, but not sure why pressing o / O on mac (catalina) doesn't open anything.


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.


Use `open` instead of xdg-open on macOS.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: