Java Shell Command runCommand(String command[])

Here you can find the source of runCommand(String command[])

Description

run Command

License

Open Source License

Declaration

public static void runCommand(String command[]) throws IOException 

Method Source Code

//package com.java2s;
/*   This program is released under European Union Public License.
 *  for details please refer to the file LICENSE
 *   /*from   w ww  . j  a v a 2s  . c o m*/
 *  Disclaimer: the program comes "as is" and with absolutely no warranty 
 *  
 *  ? 2010,2011 TCM
 */

import java.io.IOException;

public class Main {
    public static void runCommand(String command[]) throws IOException {
        new ProcessBuilder(command).start();
    }
}

Related

  1. runCommand(String cmd)
  2. runCommand(String cmd)
  3. runCommand(String command)
  4. runCommand(String command)
  5. runCommand(String command, String args, String file)
  6. runCommand(String program, ArrayList args)
  7. runCommand(String s)
  8. runCommand(String[] args)
  9. runCommand(String[] args)