public class ShellProcess
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ShellProcess |
drain() |
java.lang.String |
getCommandOutput() |
int |
getExitCode() |
java.io.InputStream |
getInputStream()
Returns an InputStream that will contain only the output from the executed ShellProcess.
|
java.io.OutputStream |
getOutputStream() |
ExpectShell |
getShell() |
boolean |
hasSucceeded() |
boolean |
isActive() |
void |
mark(int readlimit) |
void |
reset() |
public void mark(int readlimit)
public void reset()
throws java.io.IOException
java.io.IOExceptionpublic java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
throws SshIOException
SshIOExceptionpublic int getExitCode()
public boolean hasSucceeded()
public boolean isActive()
public java.lang.String getCommandOutput()
public ExpectShell getShell()
public ShellProcess drain() throws java.io.IOException
java.io.IOExceptionCopyright © 2022. All rights reserved.