(final String... cmd)
| 118 | |
| 119 | |
| 120 | static public boolean ffs(final String... cmd) { |
| 121 | try { |
| 122 | ProcessHelper helper = new ProcessHelper(cmd); |
| 123 | ProcessResult result = helper.execute(); |
| 124 | if (result.succeeded()) { |
| 125 | return true; |
| 126 | } |
| 127 | System.out.println(result.getStdout()); |
| 128 | System.err.println(result.getStderr()); |
| 129 | |
| 130 | } catch (Exception e) { |
| 131 | e.printStackTrace(); |
| 132 | } |
| 133 | return false; |
| 134 | } |
| 135 | } |
no test coverage detected