I have here my code snippet:
 ArrayList<String> cmd_exec_installer = new ArrayList<String>();
 cmd_exec_installer.add("file.exe");
 Process proc = new ProcessBuilder(cmd_exec_installer).start();
What I want to do is to get the PID of the process started executing file.exe.
Is there a way to do that in Java?
 
     
     
    