public static Result runCmd(String cmd) throws IOException {
  return runCmd(new File(System.getProperty("user.dir")),cmd);
}

public static Result runCmd ( String cmd ) throws IOException { return runCmd ( new File ( System . getProperty ( "user.dir" ) ) , cmd ) ; }
runs the given command in the current working directory .
