4 ms·
This is awesome, but not sure why pressing o / O on mac (catalina) doesn't open anything.
by johnnyfived 7y ago
This is awesome, but not sure why pressing o / O on mac (catalina) doesn't open anything.
- ggerganov 7y agoI’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.
- ComputerGuru 7y agoUse `open` instead of xdg-open on macOS.