[Buildbot-commits] buildbot/buildbot/scripts startup.py,1.1,1.2

Brian Warner warner at users.sourceforge.net
Sun Nov 26 07:36:52 UTC 2006


Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8743/buildbot/scripts

Modified Files:
	startup.py 
Log Message:
[project @ skipt the whole watch-the-logfile thing under windows]

Original author: warner at lothar.com
Date: 2006-11-26 07:29:34

Index: startup.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/startup.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- startup.py	25 Nov 2006 07:57:32 -0000	1.1
+++ startup.py	26 Nov 2006 07:36:50 -0000	1.2
@@ -67,6 +67,11 @@
     if config['quiet']:
         return launch(config)
 
+    # we probably can't do this os.fork under windows
+    from twisted.python.runtime import platformType
+    if platformType == "win32":
+        return launch(config)
+
     # fork a child to launch the daemon, while the parent process tails the
     # logfile
     if os.fork():





More information about the Commits mailing list