Constructor and Description |
---|
Command() |
Modifier and Type | Method and Description |
---|---|
static Process |
createProcess(String cmdline,
boolean translate) |
static CommandResult |
execute(Process p) |
static CommandResult |
execute(String[] cmdline) |
static CommandResult |
execute(String cmdline,
boolean translate) |
static CommandResult |
execute(String cmd,
String[] args) |
public Command()
public static Process createProcess(String cmdline, boolean translate) throws IOException
IOException
public static CommandResult execute(String cmdline, boolean translate) throws IOException, InterruptedException
cmdline
- command linetranslate
- translate the command line or notIOException
InterruptedException
public static CommandResult execute(String[] cmdline) throws IOException, InterruptedException
IOException
InterruptedException
public static CommandResult execute(String cmd, String[] args) throws IOException, InterruptedException
IOException
InterruptedException
public static CommandResult execute(Process p) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2015 Lucee