factor/basis/webbrowser/linux/linux.factor

10 lines
251 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.linux
M: linux open-file ( path -- )
{ "xdg-open" } swap suffix try-process ;