use repl_cmd rather than run for "; ..." commands, as discussed in #43