ruby system用法

system("")

括号里面的参数的写法与windows CMD的语法相差不多:

system("cd .. && 1.bat")

原文地址:https://www.cnblogs.com/zhangfei/p/2008429.html