Lines Matching refs:command

392      * Executes the specified string command in a separate process.
395 * <tt>exec(command)</tt>
397 * <tt>{@link #exec(String, String[], File) exec}(command, null, null)</tt>.
399 * @param command a specified system command.
412 * If <code>command</code> is <code>null</code>
415 * If <code>command</code> is empty
420 public Process exec(String command) throws IOException {
421 return exec(command, null, null);
425 * Executes the specified string command in a separate process with the
429 * <tt>exec(command, envp)</tt>
431 * <tt>{@link #exec(String, String[], File) exec}(command, envp, null)</tt>.
433 * @param command a specified system command.
452 * If <code>command</code> is <code>null</code>,
456 * If <code>command</code> is empty
461 public Process exec(String command, String[] envp) throws IOException {
462 return exec(command, envp, null);
466 * Executes the specified string command in a separate process with the
470 * <tt>exec(command, envp, dir)</tt>
474 * <code>command</code>.
476 * <p>More precisely, the <code>command</code> string is broken
478 * <code>new {@link StringTokenizer}(command)</code> with no
483 * @param command a specified system command.
506 * If <code>command</code> is <code>null</code>,
510 * If <code>command</code> is empty
515 public Process exec(String command, String[] envp, File dir)
517 if (command.length() == 0)
518 throw new IllegalArgumentException("Empty command");
520 StringTokenizer st = new StringTokenizer(command);
528 * Executes the specified command and arguments in a separate process.
535 * @param cmdarray array containing the command to call and
563 * Executes the specified command and arguments in a separate process
571 * @param cmdarray array containing the command to call and
607 * Executes the specified command and arguments in a separate process with
611 * tokens of a command line, and an array of strings <code>envp</code>,
613 * a new process in which to execute the specified command.
616 * system command. Which commands are valid is system-dependent,
617 * but at the very least the command must be a non-empty list of
654 * @param cmdarray array containing the command to call and