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.IOException
public java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream() throws SshIOException
SshIOException
public 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.IOException
Copyright © 2021. All rights reserved.