It seems like this might be an unsupported hack: "For example on Macs, it returns java.lang.UnixProcess which has a private field called pid. Using Reflection you can easily get the value of this field. This is admittedly a hack, but it might help. What do you need the PID for anyway?" https://stackoverflow.com/questions/4750470/how-to-get-pid-of-process-ive-just-started-within-java-program/5578924
We need to find a supported way of getting the process PID, but until then I guess I would be safe to ignore the warning.
It seems like this might be an unsupported hack: "For example on Macs, it returns java.lang. UnixProcess which has a private field called pid. Using Reflection you can easily get the value of this field. This is admittedly a hack, but it might help. What do you need the PID for anyway?" https:/ /stackoverflow. com/questions/ 4750470/ how-to- get-pid- of-process- ive-just- started- within- java-program/ 5578924
We need to find a supported way of getting the process PID, but until then I guess I would be safe to ignore the warning.