ruby 在 windows 中 新建进程 打开其他程序
摘要:
引入win32ole即可调用ShellExecute 方法require 'win32ole'shell = WIN32OLE.new('Shell.Application')shell.ShellExecute(FILE, ARGUMENTS, DIRECTORY, OPERATION, SHOW)详细见:http://rubyonwindows.blogspot.com/2007/05/launching-apps-and-printing-docs-with.html 阅读全文
posted @ 2011-10-25 10:17 Eric812048774 阅读(269) 评论(0) 推荐(0)
浙公网安备 33010602011771号