initial sketch for process manager

This commit is contained in:
Aidan Hahn 2019-05-22 22:25:44 -07:00
parent 622da2d238
commit 0433ead782
No known key found for this signature in database
GPG key ID: 327711E983899316
2 changed files with 287 additions and 2 deletions

View file

@ -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 = "";