# Uses of Interface
org.apache.commons.exec.ProcessDestroyer

Packages that use ProcessDestroyer
Package
Description
org.apache.commons.exec
The main Apache Commons Exec package.

- ## Uses of ProcessDestroyer in org.apache.commons.exec

  Classes in org.apache.commons.exec that implement ProcessDestroyer
  Modifier and Type
  Class
  Description
  `class`
  `ShutdownHookProcessDestroyer`
  Destroys all registered `Process`es when the VM exits.
  Methods in org.apache.commons.exec that return ProcessDestroyer
  Modifier and Type
  Method
  Description
  `ProcessDestroyer`
  DefaultExecutor.`getProcessDestroyer()`
  `ProcessDestroyer`
  Executor.`getProcessDestroyer()`
  Sets the handler for cleanup of started processes if the main process is going to terminate.
  Methods in org.apache.commons.exec with parameters of type ProcessDestroyer
  Modifier and Type
  Method
  Description
  `void`
  DefaultExecutor.`setProcessDestroyer(ProcessDestroyer processDestroyer)`
  `void`
  Executor.`setProcessDestroyer(ProcessDestroyer processDestroyer)`
  Sets the handler for cleanup of started processes if the main process is going to terminate.