Package org.luwrain.linux
Class BashProcess
java.lang.Object
org.luwrain.linux.BashProcess
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static enum
static interface
-
Constructor Summary
ConstructorDescriptionBashProcess
(String command) BashProcess
(String command, String dir, Set<BashProcess.Flags> flags, BashProcess.Listener listener) BashProcess
(String command, Set<BashProcess.Flags> flags) BashProcess
(String command, Set<BashProcess.Flags> flags, BashProcess.Listener listener) -
Method Summary
-
Constructor Details
-
BashProcess
public BashProcess(String command, String dir, Set<BashProcess.Flags> flags, BashProcess.Listener listener) -
BashProcess
-
BashProcess
-
BashProcess
-
-
Method Details
-
run
- Throws:
IOException
-
stop
public void stop() -
waitFor
public int waitFor() -
getOutput
-
getErrors
-
escape
-