Adding executeCmd exitValue assertion. Removing mawk