Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
johnnyfived
on Dec 15, 2019
|
parent
|
context
|
favorite
| on:
Show HN: HNTerm – Browse Hacker News in the Termin...
This is awesome, but not sure why pressing o / O on mac (catalina) doesn't open anything.
ggerganov
on Dec 16, 2019
[–]
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.
ComputerGuru
on Dec 16, 2019
|
parent
[–]
Use `open` instead of xdg-open on macOS.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: