made runCmds return either a list of output strings or an error message