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