hgext/logtoprocess.py
changeset 34645 75979c8d4572
parent 34640 68ed3b4f86ef
child 35063 52790352dd05
--- a/hgext/logtoprocess.py	Thu Oct 12 19:20:04 2017 -0700
+++ b/hgext/logtoprocess.py	Thu Oct 12 23:30:46 2017 -0700
@@ -51,7 +51,7 @@
 testedwith = 'ships-with-hg-core'
 
 def uisetup(ui):
-    if pycompat.osname == 'nt':
+    if pycompat.iswindows:
         # no fork on Windows, but we can create a detached process
         # https://msdn.microsoft.com/en-us/library/windows/desktop/ms684863.aspx
         # No stdlib constant exists for this value