Quoting Bruce Stephens :
Presuming that works OK, you might want to start both instances in the
background and use wait (to wait for both) at the end of the script. Or
Ah, good point. I always forget these subtleties because I never quit
xmonad. ^_^
~d