xupeng001 / rapid-framework

Automatically exported from code.google.com/p/rapid-framework
0 stars 0 forks source link

建议baiqiu加入rapid对linux的支持 #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
建议在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

GoogleCodeExporter commented 8 years ago
bash cd 有什么用?

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

GoogleCodeExporter commented 8 years ago
应该是不需要执行这个东西.

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