@Immutable @Loggable(value=1) public final class Shallow extends Object implements Shell
| Modifier and Type | Method and Description |
|---|---|
void |
badge(String name,
String value)
Add a new badge.
|
void |
close() |
int |
exec(String command,
InputStream stdin,
OutputStream stdout,
OutputStream stderr)
Exec one command.
|
@Loggable(value=1, limit=2147483647) public int exec(String command, InputStream stdin, OutputStream stdout, OutputStream stderr) throws IOException
exec in interface Shellcommand - Command to executestdin - Input streamstdout - Output streamstderr - Error output streamIOException - If failspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2009–2014 Rultor Inc.. All rights reserved.