factor/basis/webbrowser/macosx/macosx.factor

10 lines
249 B
Factor

! Copyright (C) 2011 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
USING: io.launcher kernel sequences system webbrowser ;
IN: webbrowser.macosx
M: macosx open-file ( path -- )
{ "open" } swap suffix try-process ;