net.sf.hajdbc.util.Processes Maven / Gradle / Ivy
package net.sf.hajdbc.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.security.PrivilegedExceptionAction;
import java.util.Map;
import net.sf.hajdbc.logging.Level;
import net.sf.hajdbc.logging.Logger;
import net.sf.hajdbc.logging.LoggerFactory;
public class Processes
{
private static final Logger logger = LoggerFactory.getLogger(Processes.class);
public static Map environment(final ProcessBuilder builder)
{
PrivilegedAction