MCPcopy Create free account
hub / github.com/diffplug/goomph / cmd

Method cmd

src/main/java/com/diffplug/gradle/CmdLine.java:59–62  ·  view source on GitHub ↗

Executes the given command.

(String cmd)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
runCmdMethod · 0.95

Tested by

no test coverage detected