| Package | Description |
|---|---|
| de.mklinger.commons.exec |
| Modifier and Type | Class and Description |
|---|---|
class |
CmdOutputException |
class |
ExitCodeException |
| Modifier and Type | Method and Description |
|---|---|
void |
Cmd.execute()
Start the process and wait for it to exit.
|
static String |
CmdOutputUtil.executeForOutput(CmdBuilderBase<?> cmdBuilder)
Execute a Cmd for the given builder and return its stdout and stderr output
as a String using the default charset of this Java virtual machine.
|
static String |
CmdOutputUtil.executeForOutput(CmdSettings cmdSettings)
Execute a Cmd for the given settings and return its stdout and stderr output
as a String using the default charset of this Java virtual machine.
|
static String |
CmdOutputUtil.executeForStderr(CmdBuilderBase<?> cmdBuilder)
Execute a Cmd for the given builder and return its stderr output as a String
using the default charset of this Java virtual machine.
|
static String |
CmdOutputUtil.executeForStderr(CmdSettings cmdSettings)
Execute a Cmd for the given settings and return its stderr output as a String
using the default charset of this Java virtual machine.
|
static String |
CmdOutputUtil.executeForStdout(CmdBuilderBase<?> cmdBuilder)
Execute a Cmd for the given builder and return its stdout output as a String
using the default charset of this Java virtual machine.
|
static String |
CmdOutputUtil.executeForStdout(CmdSettings cmdSettings)
Execute a Cmd for the given settings and return its stdout output as a String
using the default charset of this Java virtual machine.
|
void |
Cmd.start()
Start the process and return immediately.
|
int |
Cmd.waitFor()
Wait for an already
started process. |
void |
PipeRunnable.waitForStart(long timeoutMillis) |
void |
PipeRunnable.waitForStop(long timeoutMillis) |
| Constructor and Description |
|---|
CmdOutputException(CmdException cause,
String output,
boolean stdoutIncluded,
boolean stderrIncluded) |
Copyright © 2013–2019 mklinger GmbH. All rights reserved.