pub fn terminate_process(pid: u32)
Send a termination signal to a process by PID. Unix: sends SIGTERM. Windows: calls TerminateProcess.