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

Method runCmd

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

Runs the given command in the current working directory.

(String cmd)

Source from the content-addressed store, hash-verified

128
129 /** Runs the given command in the current working directory. */
130 public static Result runCmd(String cmd) throws IOException {
131 return runCmd(new File(System.getProperty("user.dir")), cmd);
132 }
133
134 /** Runs the given command in the given directory. */
135 public static Result runCmd(File directory, String cmd) throws IOException {

Callers 3

cmdMethod · 0.95
openMethod · 0.95
runMethod · 0.95

Calls 3

getPlatformCmdsMethod · 0.95
getExceptionMethod · 0.95
getOutputMethod · 0.95

Tested by

no test coverage detected