This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients r.david.murray
Date 2011-03-14.01:49:21
SpamBayes Score 2.3377637e-05
Marked as misclassified No
Message-id <1300067362.71.0.164097383701.issue11490@psf.upfronthosting.co.za>
In-reply-to
Content
test_subprocess was failing for me on my laptop, and my laptop only.  With some guidance from haypo on using strace, I tracked the problem down to the fact that the last directory in my path is a directory to which I don't have permission.  So the error subprocess was getting from trying to access the non-existent file was "permission denied" (errno 13) instead of not found (errno 2).

It is possible this is an error in subprocess as well, since the shell, for example, returns command not found in that case.  But I don't think that it is, since I think the errno is being returned by the exec call.  So, I think the test just needs to be changed to ignore errno 13 as well (by name, of course).
History
Date User Action Args
2011-03-14 01:49:22r.david.murraysetrecipients: + r.david.murray
2011-03-14 01:49:22r.david.murraysetmessageid: <1300067362.71.0.164097383701.issue11490@psf.upfronthosting.co.za>
2011-03-14 01:49:21r.david.murraylinkissue11490 messages
2011-03-14 01:49:21r.david.murraycreate