public class ShellCommand extends Object
| Constructor and Description |
|---|
ShellCommand() |
| Modifier and Type | Method and Description |
|---|---|
static String |
exec(org.apache.commons.exec.CommandLine commandLine) |
static String |
exec(org.apache.commons.exec.CommandLine commandline,
long timeoutInMillies) |
static void |
execAsync(org.apache.commons.exec.CommandLine commandline) |
static void |
execAsync(String display,
org.apache.commons.exec.CommandLine commandline) |
public static String exec(org.apache.commons.exec.CommandLine commandLine) throws ShellCommandException
ShellCommandExceptionpublic static String exec(org.apache.commons.exec.CommandLine commandline, long timeoutInMillies) throws ShellCommandException
ShellCommandExceptionpublic static void execAsync(org.apache.commons.exec.CommandLine commandline)
throws ShellCommandException
ShellCommandExceptionpublic static void execAsync(String display, org.apache.commons.exec.CommandLine commandline) throws ShellCommandException
ShellCommandExceptionCopyright © 2015. All rights reserved.