public interface ShellResult
extends xapi.util.api.Destroyable
| Modifier and Type | Method and Description |
|---|---|
double |
birth() |
void |
destroy()
Destroy the process.
|
Future<Integer> |
exitStatus() |
boolean |
isRunning() |
int |
join()
Wait for the process to die.
|
ShellCommand |
parent() |
int |
pid() |
ShellResult |
stdErr(LineReader reader) |
boolean |
stdIn(String string)
Send a string to the stdin of the given command.
|
ShellResult |
stdOut(LineReader reader) |
ShellCommand parent()
int pid()
void destroy()
destroy in interface xapi.util.api.Destroyableint join()
boolean isRunning()
double birth()
Future<Integer> exitStatus()
ShellResult stdOut(LineReader reader)
ShellResult stdErr(LineReader reader)
boolean stdIn(String string)
string - - Command to pipe to stdIn; buffered if other commands are pending.Copyright © 2012-2013 The Internet Party. All Rights Reserved.