try to avoid a subprocess child exception raised by OSError: [Errno 2] No such file or directory