multiple times subprocess fails on windows

kvbik jakub.vysoky at
Sun Nov 21 20:39:33 CET 2010


in a test suite in my project (called rvirtualenv [1]) I discovered a
strange behaviour when calling from python a batch file which calles
another python and this calles a shell command.


I know it sounds pretty strange, but I do this only because I am
testing such specific tool (that has similar functionality like
original virtualenv and there are things like activate.bat commands).

I've uploaded some code snippet here:

If anyone could explain me this behaviour I would be more than happy,
because right now it is the only failing test in my project ;).

Thanks in advance, Jakub..

More information about the Python-list mailing list