2017-02-09 75 views

回答

3

給一試的 「launchy」 寶石

安裝寶石:

$ gem install launchy 

然後在你的Ruby程序執行以下操作:

require 'rubygems' 
require 'launchy' 

Launchy.open("/path/to/image.png") 
相關問題