-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: core-libs
[Process] has a new `close()` method and supports [AutoCloseable].
Closing a process ensures that it has terminated and its streams and underlying resources are released.
When used with `try-with-resources`, the process and its streams are closed when the `try-with-resources` block exits.\
See [java.lang.Process][java.lang.Process.close()] for details and examples.
Closing a process ensures that it has terminated and its streams and underlying resources are released.
When used with `try-with-resources`, the process and its streams are closed when the `try-with-resources` block exits.\
See [java.lang.Process][java.lang.Process.close()] for details and examples.