2
0
Nicolas Cannasse 18 жил өмнө
parent
commit
53931e576a

+ 5 - 0
std/neko/io/Process.hx

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