It appears that if a python subprocess is called from a debugged process and fails, the return code of the subprocess is not correctly passed on to the caller. $ cd ...
A side-effect of no longer propagating import paths using the PYTHONPATH envvar is that subprocesses don't inherit the paths. This is usually a good thing, but ends up breaking plain calls to python ...