factor/basis/webbrowser/linux/linux.factor

10 lines
266 B
Factor

! Copyright (C) 2011 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
USING: arrays io.launcher kernel present system webbrowser ;
IN: webbrowser.linux
M: linux open-item ( item -- )
present "xdg-open" swap 2array run-detached drop ;