public final class ExternalProcessSupport extends Object
|Modifier and Type||Method and Description|
Destroys the process passed as parameter and attempts to terminate all child processes created during the process' execution.
public static void destroy(@NonNull Process process, @NonNull Map<String,String> env)
Any process running in environment containing the same variables
with the same values as those passed in
env (all of them)
is supposed to be part of the process tree and may be terminated.
process- process to kill
env- map containing the variables and their values which the process must have to be considered being part of the tree to kill
Built on May 31 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.