标签: ruby
答案 0 :(得分:7)
答案 1 :(得分:1)
这是如何在ruby中打开mspaint
irb>print("mspaint #{%x{path=c:/image/aj.jpg}}")# irb>print("mspaint #{%x{mspaint a.jpg}}")# this is open your jpg file with mspaint OR irb>print("mspaint #{%x{mspaint c:/image/a.jpg}}")#