#!/bin/ash
urxvt -e ash -c "sudo pacman -Syu ;echo '------------------
Окно можно закрыть' ; sleep 9999"