Here you can find the source of executeComand(String[] comand)
public static Process executeComand(String[] comand) throws IOException
//package com.java2s; //License from project: Open Source License import java.io.IOException; public class Main { public static Process executeComand(String[] comand) throws IOException { return Runtime.getRuntime().exec(comand); }/* ww w . j a v a2s . c o m*/ }