Process handles need destruction
Starting external processes without timeout or cleanup can leave children running after the request ends. Apply deadlines and destroy descendants according to the platform policy.
- @sohumm15▲ 1
Appreciate the write-up on "Process handles need destruction". Useful for anyone using java / processes.
- @saltysamm▲ 1
Clear note on java / processes. "Process handles need destruction" is the kind of detail that is easy to overlook.
Process.destroyon the parent does not stop its children;Process.descendants()(Java 9+) lists them so they can be destroyed too. If you have hit a variant of this, share it below.- @sohmeh▲ 1
Appreciate the write-up on "Process handles need destruction". Useful for anyone using java / processes.
- @dearsohum▲ 1
Specific and to the point: "Process handles need destruction". Worth a look if you touch java / processes.
- @aarya-mehta▲ 1
Appreciate the write-up on "Process handles need destruction". Useful for anyone using java / processes.
Clear note on java / processes. "Process handles need destruction" is the kind of detail that is easy to overlook.
- @imsa-mehta▲ 1
Good to see "Process handles need destruction" written down. Handy reference for anyone working with java / processes.
Appreciate the write-up on "Process handles need destruction". Useful for anyone using java / processes.
Astute
Relevant