Lines Matching defs:command

318      * Executes the specified string command in a separate process.
321 * <tt>exec(command)</tt>
323 * <tt>{@link #exec(String, String[], File) exec}(command, null, null)</tt>.
325 * @param command a specified system command.
338 * If <code>command</code> is <code>null</code>
341 * If <code>command</code> is empty
346 public Process exec(String command) throws IOException {
347 return exec(command, null, null);
351 * Executes the specified string command in a separate process with the
355 * <tt>exec(command, envp)</tt>
357 * <tt>{@link #exec(String, String[], File) exec}(command, envp, null)</tt>.
359 * @param command a specified system command.
378 * If <code>command</code> is <code>null</code>,
382 * If <code>command</code> is empty
387 public Process exec(String command, String[] envp) throws IOException {
388 return exec(command, envp, null);
392 * Executes the specified string command in a separate process with the
396 * <tt>exec(command, envp, dir)</tt>
400 * <code>command</code>.
402 * <p>More precisely, the <code>command</code> string is broken
404 * <code>new {@link StringTokenizer}(command)</code> with no
409 * @param command a specified system command.
432 * If <code>command</code> is <code>null</code>,
436 * If <code>command</code> is empty
441 public Process exec(String command, String[] envp, File dir)
443 if (command.length() == 0)
444 throw new IllegalArgumentException("Empty command");
446 StringTokenizer st = new StringTokenizer(command);
454 * Executes the specified command and arguments in a separate process.
461 * @param cmdarray array containing the command to call and
489 * Executes the specified command and arguments in a separate process
497 * @param cmdarray array containing the command to call and
533 * Executes the specified command and arguments in a separate process with
537 * tokens of a command line, and an array of strings <code>envp</code>,
539 * a new process in which to execute the specified command.
542 * system command. Which commands are valid is system-dependent,
543 * but at the very least the command must be a non-empty list of
580 * @param cmdarray array containing the command to call and