factor/basis/webbrowser/windows/windows.factor

10 lines
278 B
Factor
Raw Normal View History

! Copyright (C) 2011 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
2011-11-16 23:33:36 -05:00
USING: system kernel webbrowser windows.shell32 windows.user32 ;
IN: webbrowser.windows
M: windows open-file ( path -- )
[ f "open" ] dip f f SW_SHOWNORMAL ShellExecute drop ;