17 Jul
2009
17 Jul
'09
4:06 p.m.
On 17-07-2009 17:57:34 +0200, Stefan Manegold wrote:
On Fri, Jul 17, 2009 at 05:37:17PM +0200, Fabian Groffen wrote:
On 17-07-2009 17:30:26 +0200, Stefan Manegold wrote:
This might require quite a bunch of tests to be adapted accordingly, because so far basically all tests assumed that they were executed in the TSTTRGDIR (though there are tests that "don't care")... ... you already fixed some; but I guess there are (many?) more to do ...
Wasn't there a chance to do a per-thread chdir? Or does Python not allow that?
chdir is per process, not thread.
What about setting cwd=<TSTTRGDIR> with the respective subprocess.Popen() call(s)?
Might be possible, but isn't the current solution more elegant, because its agnostic to the CWD?