Cross platform web browser launch?

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?

Cross platform web browser launch?

Postby oofoe » Mon Jul 11, 2016 4:49 am


Is there anything like the Python webbrowser library to launch a file in the system specific web browser?

I'm currently using
Code: Select all
(! (string "explorer.exe " pfile) 0)

where pfile is something like "c:\\temp\\card-preview.html", but this is very specifically Windows...

Testing can show the presence of bugs, but not their absence.
Posts: 60
Joined: Wed Sep 28, 2005 7:13 pm

Return to newLISP and the O.S.

Who is online

Users browsing this forum: No registered users and 1 guest