Here you can find the source of execute(String[] command, File directory, String[] env)
public static Process execute(String[] command, File directory, String[] env) throws IOException
//package com.java2s; //License from project: Open Source License import java.io.File; import java.io.IOException; public class Main { public static Process execute(String[] command, File directory, String[] env) throws IOException { return Runtime.getRuntime().exec(command, env, directory); }/*www . j a v a 2s . c o m*/ }