initial sketch for process manager
This commit is contained in:
parent
622da2d238
commit
0433ead782
2 changed files with 287 additions and 2 deletions
|
|
@ -43,6 +43,14 @@ class ProcessController {
|
|||
this.outputScanner.useDelimieter("\\A");
|
||||
}
|
||||
|
||||
/*
|
||||
* getPid()
|
||||
* returns translated pid of this process
|
||||
*/
|
||||
public int getPid() {
|
||||
return this.pid;
|
||||
}
|
||||
|
||||
/*
|
||||
* getStatus()
|
||||
* returns whether or not the process is running
|
||||
|
|
@ -77,8 +85,7 @@ class ProcessController {
|
|||
|
||||
/*
|
||||
* getOutput()
|
||||
* gets new output from stream
|
||||
* (TODO: investigate whether this would better be done by )
|
||||
* gets output from process
|
||||
*/
|
||||
public String getOutput() {
|
||||
String out = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue