(String... args)
| 172 | } |
| 173 | |
| 174 | private static String[] addRubyPath(String... args) { |
| 175 | List<String> cmd_array = new ArrayList<String>(); |
| 176 | Utils.Platform os = Utils.checkOS(); |
| 177 | if (os == Utils.Platform.MAC || os == Utils.Platform.LINUX) { |
| 178 | |
| 179 | cmd_array.add("ruby"); |
| 180 | } |
| 181 | for (String s : args) { |
| 182 | |
| 183 | cmd_array.add(s); |
| 184 | // System.out.print(s+ " "); |
| 185 | } |
| 186 | // System.out.println(""); |
| 187 | return cmd_array.toArray(new String[0]); |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * EXEを実行する。MACの場合はmonoで実行する |
no test coverage detected