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