Solution ID: prim21189 |
How to launch an application from within the Integration API? |
Status: Reviewed |
Version(s): 4.0, 4.1, 5.0 |
From Primavera OCP
Problem: | How to launch project manager from within the Integration API? |
Problem: | Sample code to launch an executable via JAVA |
Fix: | Runtime r = Runtime.getRuntime(); Process p = null; try{ p=r.exec(“C:\\Program Files\\Primavera\\Project Management\\PM.exe”); } catch(Exception exp) { System.out.println(exp.getStackTrace()); } |