run.py: some commonly used wrappers over subprocess.*
mstring.py: fixed regexp that previously didn't match some patterns