rcmd(cmd) wraps cmd in braces so that if
an error occurs, execution halts.