public void cmd(String cmd){
  cmd(new File(System.getProperty("user.dir")),cmd);
}

public void cmd ( String cmd ) { cmd ( new File ( System . getProperty ( "user.dir" ) ) , cmd ) ; }
executes the given command .
