com.eurotech.framework.core.util
Class ProcessUtil

java.lang.Object
  extended by com.eurotech.framework.core.util.ProcessUtil

public class ProcessUtil
extends Object


Constructor Summary
ProcessUtil()
           
 
Method Summary
static void close(Process proc)
           
static void destroy(Process proc)
           
static Process exec(String command)
           
static Process exec(String[] cmdarray)
           
static Process exec(String[] cmdarray, String[] envp)
           
static Process exec(String command, String[] envp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessUtil

public ProcessUtil()
Method Detail

exec

public static Process exec(String command)
                    throws IOException
Throws:
IOException

exec

public static Process exec(String command,
                           String[] envp)
                    throws IOException
Throws:
IOException

exec

public static Process exec(String[] cmdarray)
                    throws IOException
Throws:
IOException

exec

public static Process exec(String[] cmdarray,
                           String[] envp)
                    throws IOException
Throws:
IOException

close

public static void close(Process proc)

destroy

public static void destroy(Process proc)


Copyright © 2013. All Rights Reserved.