|
@@ -100,11 +100,16 @@ class Process {
|
|
|
stderr = new Stdout(p,false);
|
|
|
}
|
|
|
|
|
|
+ public function getPid() : Int {
|
|
|
+ return _pid(p);
|
|
|
+ }
|
|
|
+
|
|
|
public function exitCode() : Int {
|
|
|
return _exit(p);
|
|
|
}
|
|
|
|
|
|
static var _run = neko.Lib.load("std","process_run",2);
|
|
|
static var _exit = neko.Lib.load("std","process_exit",1);
|
|
|
+ static var _pid = neko.Lib.load("std","process_pid",1);
|
|
|
|
|
|
}
|