Lines Matching defs:cmdarray

398      * <tt>{@link #exec(String[], String[], File) exec}(cmdarray, envp, dir)</tt>,
399 * where <code>cmdarray</code> is an array of all the tokens in
407 * array <code>cmdarray</code>, in the same order.
447 String[] cmdarray = new String[st.countTokens()];
449 cmdarray[i] = st.nextToken();
450 return exec(cmdarray, envp, dir);
457 * <tt>exec(cmdarray)</tt>
459 * <tt>{@link #exec(String[], String[], File) exec}(cmdarray, null, null)</tt>.
461 * @param cmdarray array containing the command to call and
475 * If <code>cmdarray</code> is <code>null</code>,
476 * or one of the elements of <code>cmdarray</code> is <code>null</code>
479 * If <code>cmdarray</code> is an empty array
484 public Process exec(String cmdarray[]) throws IOException {
485 return exec(cmdarray, null, null);
493 * <tt>exec(cmdarray, envp)</tt>
495 * <tt>{@link #exec(String[], String[], File) exec}(cmdarray, envp, null)</tt>.
497 * @param cmdarray array containing the command to call and
517 * If <code>cmdarray</code> is <code>null</code>,
518 * or one of the elements of <code>cmdarray</code> is <code>null</code>,
522 * If <code>cmdarray</code> is an empty array
527 public Process exec(String[] cmdarray, String[] envp) throws IOException {
528 return exec(cmdarray, envp, null);
536 * <p>Given an array of strings <code>cmdarray</code>, representing the
541 * <p>This method checks that <code>cmdarray</code> is a valid operating
564 * <code>cmdarray</code> as its argument. This may result in a
580 * @param cmdarray array containing the command to call and
604 * If <code>cmdarray</code> is <code>null</code>,
605 * or one of the elements of <code>cmdarray</code> is <code>null</code>,
609 * If <code>cmdarray</code> is an empty array
615 public Process exec(String[] cmdarray, String[] envp, File dir)
617 return new ProcessBuilder(cmdarray)