Package com.jcabi.ssh
Class Shell.Plain
- java.lang.Object
-
- com.jcabi.ssh.Shell.Plain
-
- Enclosing interface:
- Shell
@Immutable public static final class Shell.Plain extends Object
With output only.- Since:
- 0.1
-
-
Constructor Detail
-
Plain
public Plain(Shell shell)
Ctor.- Parameters:
shell
- Original shell
-
-
Method Detail
-
exec
public String exec(String cmd) throws IOException
Just exec.- Parameters:
cmd
- Command- Returns:
- Stdout
- Throws:
IOException
- If fails
-
-