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
IOExceptionpublic InputStream getInputStream()
public OutputStream getOutputStream() throws SshIOException
SshIOExceptionpublic int getExitCode()
public boolean hasSucceeded()
public boolean isActive()
public String getCommandOutput()
public Shell getShell()
public void drain()
           throws IOException
IOExceptionCopyright © 2025. All rights reserved.