Alias for destroy, implemented for java.lang.AutoCloseable
Alias for destroy, implemented for java.lang.AutoCloseable
Attempt to destroy the ProcessLike (gently), via the underlying JVM APIs
Force-destroys the ProcessLike, via the underlying JVM APIs
The exit code of this ProcessLike.
The exit code of this ProcessLike. Conventionally, 0 exit code represents a successful termination, and non-zero exit code indicates a failure.
Throws an exception if the subprocess has not terminated
Returns true
if the ProcessLike is still running and has not terminated
Wait up to millis
for the ProcessLike to terminate and all stdout and stderr
from the subprocess to be handled.
Wait up to millis
for the ProcessLike to terminate and all stdout and stderr
from the subprocess to be handled. By default waits indefinitely; if a time
limit is given, explicitly destroys the ProcessLike if it has not completed by
the time the timeout has occurred
Wait up to millis
for the ProcessLike to terminate, by default waits
indefinitely.
Wait up to millis
for the ProcessLike to terminate, by default waits
indefinitely. Returns true
if the ProcessLike has terminated by the time
this method returns.
Parent type for single processes and process pipelines.