Fork and timeout system commands.