org.mentawai.util
Class ExecUtil

java.lang.Object
  extended by org.mentawai.util.ExecUtil

public class ExecUtil
extends Object


Field Summary
static String WIN_CMD
           
 
Constructor Summary
ExecUtil()
           
 
Method Summary
static String execLinux(String cmd)
           
static String execWin(String cmd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WIN_CMD

public static String WIN_CMD
Constructor Detail

ExecUtil

public ExecUtil()
Method Detail

execWin

public static String execWin(String cmd)
                      throws IOException,
                             InterruptedException
Throws:
IOException
InterruptedException

execLinux

public static String execLinux(String cmd)
                        throws IOException,
                               InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2013. All Rights Reserved.