== 1. our own process pid > 0: true, command ends with java: true has a parent: true == 2. onExit() instead of a blocked thread main thread is free; alive = true callback: exited with 3 == 3. what ProcessHandle.Info reveals about a child command = /usr/bin/sleep arguments = 5 user set = true, startInstant set = true == 4. a handle to a finished process alive after exit: false == 5. a real pipeline without a shell: printf | sort | uniq -c 1 a 3 b 1 c stages: 3