Monday, April 16, 2012

Open web browser from terminal

I know OS X has an open command, where you can pass in a URL, and it'll open up the default browser and point it to the given domain.



But how would I go about doing this for other unix-based AND windows-based machines? Basically, I'd like to make a CLI (written in python), and have a cross-OS way of opening the browser from the terminal.





No comments:

Post a Comment