(function(f,c,d){var b="Rho.System.Process";var a=d.apiReqFor(b);function e(){var g=null;this.getId=function(){return g};if(1==arguments.length&&arguments[0][d.rhoIdParam()]){if(b!=arguments[0][d.rhoClassParam()]){throw"Wrong class instantiation!"}g=arguments[0][d.rhoIdParam()]}else{g=d.nextId()}}d.createPropsProxy(e.prototype,[],a,function(){return this.getId()});d.createMethodsProxy(e.prototype,[{methodName:"waitForApplication",nativeName:"waitForApplication",valueCallbackIndex:0},{methodName:"closeHandle",nativeName:"closeHandle",valueCallbackIndex:0},{methodName:"getProcessExitCode",nativeName:"getProcessExitCode",valueCallbackIndex:0}],a,function(){return this.getId()});d.createRawPropsProxy(e.prototype,[]);d.createPropsProxy(e,[],a);d.createMethodsProxy(e,[{methodName:"runApplication",nativeName:"runApplication",valueCallbackIndex:3}],a);d.namespace(b,e)})(Rho.jQuery,Rho,Rho.util);