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