railo.commons.cli
Class Command
java.lang.Object
railo.commons.cli.Command
public class Command
- extends Object
Command
public Command()
createProcess
public static Process createProcess(String cmdline,
boolean translate)
throws IOException
- Throws:
IOException
execute
public static String execute(String cmdline,
boolean translate)
throws IOException,
InterruptedException
- Parameters:
cmdline
- command linetranslate
- translate the command line or not
- Returns:
-
- Throws:
IOException
InterruptedException
execute
public static String execute(String[] cmdline)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
execute
public static String execute(String cmd,
String[] args)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
execute
public static String execute(Process p)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
Copyright © 2012 Railo