Process.waitOrForceKill

Wait for the process to exit until a timeout is reached. If the process doesn't exit before the timeout, force kill it.

struct Process
int
waitOrForceKill
(
Duration timeout
)

Return Value

Type: int

The process exit code.

Meta