Executes the given command.
(String cmd)
| 57 | |
| 58 | /** Executes the given command. */ |
| 59 | public void cmd(String cmd) { |
| 60 | // use the project directory by default |
| 61 | cmd(new File(System.getProperty("user.dir")), cmd); |
| 62 | } |
| 63 | |
| 64 | /** Sets the working directory to the given dir, then executes the given command. */ |
| 65 | public void cmd(File workingDir, String cmd) { |