a question about testing hgweb (concerning spawndetached on windows)
simohe at besonet.ch
Mon Feb 3 07:09:40 CST 2014
Do we test "hgweb writing on output socket" (in the test suite)?
If we do, this comment from mercurial.win32.spawndetached is not totally
true. It works for me with python 2.6.6 on windows 7 x64, when running
# Not running the command in shell mode makes Python 2.6 hang when
# writing to hgweb output socket.
comspec = os.environ.get("COMSPEC", "cmd.exe")
args = comspec + " /c " + arg
copied from mercurial.win32.spawndetached,
This comment originates from 2f7a38f336f4, submitted by Patrick Mezard
<pmezard at gmail.com>.
At my windows computer, the tests with 'hg serve' run much better when not
running with 'COMSPEC'.
More information about the Mercurial-devel