I start a Process with ProcessBuilder but i need to get the PID. (Process ID)
List<String> bel = Arrays.asList(befehl.split(","));
ProcessBuilder bu2 = new ProcessBuilder(bel);
bu2.directory(new File("/home/cloud/" + modi + "/" + name));
Process p = bu2.start();
How can i dot that?