simonhoo/rapid-framework

建议baiqiu加入rapid对linux的支持

Opened this issue · 2 comments

建议在SystemHelper.java中加入
public static boolean isLinuxOS = 
System.getProperty("os.name").toLowerCase().indexOf("linux")>= 0;

然后在需要判断OS版本的地方加入 else(SystmeHelper.isLinuxOS){
    Runtime.getRuntime().exec("bash cd "+...);
}
以使得rapid能够在linux下顺利执行而不报错误

Original issue reported on code.google.com by Valenti....@gmail.com on 31 Jul 2011 at 9:13

bash cd 有什么用?

Original comment by bad...@gmail.com on 3 Aug 2011 at 4:26

应该是不需要执行这个东西.

Original comment by bad...@gmail.com on 3 Aug 2011 at 4:27