O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

The APIs, children(), and descendants(), return Stream of ProcessHandler for each of the processes, which are either direct children or descendants of the current process. Using the instance of ProcessHandler, we can perform the following operations:

  1. Get the process information.
  2. Check the status of the process.
  3. Stop the process.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required