kill abstract method

Future<void> kill()

Stops the process and completes when it is gone. On Windows, taskkill /T /F is attempted on the process and its tree while it is alive; on other systems it receives SIGTERM, then SIGKILL after a grace period. Descendants that outlive it, or that detach from it, may keep running; killing an already exited process is allowed.

Implementation

Future<void> kill();