X-Git-Url: https://jfr.im/git/irc/quakenet/qwebirc.git/blobdiff_plain/5620a68a8d20b5f49d6012131bb5dbb7a8185cf7..fb28e394a2670944ee36f7c386cbc884d9207daa:/bin/pagegen.py
diff --git a/bin/pagegen.py b/bin/pagegen.py
index 645210e..7423a2b 100755
--- a/bin/pagegen.py
+++ b/bin/pagegen.py
@@ -27,7 +27,7 @@ def csslist(name, debug, gen=False):
def _gethgid():
try:
- p = subprocess.Popen(["hg", "id"], stdout=subprocess.PIPE)
+ p = subprocess.Popen(["hg", "id"], stdout=subprocess.PIPE, shell=os.name == "nt")
except Exception, e:
if hasattr(e, "errno") and e.errno == 2:
raise HGException, "unable to execute"
@@ -68,6 +68,7 @@ def producehtml(name, debug):