NoSuchProcess if the process no longer exists.
Process.terminate
void terminate() @trustedTerminates the process gracefully (SIGTERM on Unix).
Throws
AccessDenied if insufficient permissions.
void terminate() @trustedTerminates the process gracefully (SIGTERM on Unix).
NoSuchProcess if the process no longer exists.