subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <>
Subject Re: [PATCH] Make work on Windows
Date Mon, 03 Jun 2013 11:29:51 GMT
On 03.06.2013 12:47, Neels Hofmeyr wrote:
> Hi dev,
> I tried to get going on a windows server (<rolls eyes>),
> but needed this patch to do so:
> It seems that no-one has answered Sergey on his patch submission back
> in 2009. (According to, that thread ends right there.)
> The patch removes a try-import-except-import thing and replaces it with
> a straightforward 'from subprocess import Popen,PIPE'. AFAICT that works
> almost everywhere and is a good change.
> So, if there are no vetos, I'll commit this patch.

I believe the patch is not correct. It assumes unlimited buffering on
the stdout and stderr pipes, which is never the case. The way Popen is
used on the patch can cause the parent and child processes to deadlock.

I suggest using Popen.communicate instead.


-- Brane

View raw message