Feb. 15, 2013
10:45 a.m.
OSProcess command: 'open http://foo.bar.com' On 2013-02-15, at 02:12, "Torsten Bergmann" <astares@gmx.de> wrote:
In Pharo 2.0 one can now use
NBWin32Shell shellBrowse: 'http://www.pharo-project.org'
which will open an external webbrowser on the given URL. This is currently limited to Windows.
Anyone able to implement/call appropriate NB functions for Mac and Linux? I would like to see a unified interface coming with 2.0
NBWebbrowser shellBrowse: url
dispatching to the appropriate class depending on OS.
Since these days a lot of work is done using webbrowsers I think a unified way to open a browser on a given URL is required for Pharo.
I also need this for the upcoming Pharo online help to work on all major platforms.
Thanks T.