kill process and sub process mac terminal code example Example: kill process macos Click on top left menu -> Macos (Apple) -> force quit