Subexec spawns an external command with a timeout.