There are several reasons an OSError or IOError could be raised by subprocess; we can't be sure that it happened due to the CWD not existing.