- Revision
- 16010
- Author
- bear
- Date
- 2007-12-03 10:28:27 -0800 (Mon, 03 Dec 2007)
Log Message
ported change to createTranslationEgg to tell runCommand()
to not use preexec function
to not use preexec function
Modified Paths
Diff
Modified: tags/rel_0.7.3-rc1/chandler/tools/createTranslationEgg.py (16009 => 16010)
--- tags/rel_0.7.3-rc1/chandler/tools/createTranslationEgg.py 2007-12-03 18:27:32 UTC (rev 16009) +++ tags/rel_0.7.3-rc1/chandler/tools/createTranslationEgg.py 2007-12-03 18:28:27 UTC (rev 16010) @@ -36,7 +36,7 @@ pass try: - build_lib.runCommand("msgfmt", timeout=5, logger=ignore) + build_lib.runCommand("msgfmt", timeout=5, logger=ignore, ignorepreexec=True) MSGFMT_INSTALLED = True except: MSGFMT_INSTALLED = False @@ -254,7 +254,7 @@ msgfmt = os.path.join(self.CHANDLERHOME, "tools", "msgfmt.py") exp = [self.PYTHON, msgfmt, self.POFILE] - result = build_lib.runCommand(exp, timeout=60, logger=ignore) + result = build_lib.runCommand(exp, timeout=60, logger=ignore, ignorepreexec=True) os.chdir(cwd) if result != 0: @@ -265,7 +265,7 @@ def createEggInfoDir(self): exp = [self.PYTHON, 'setup.py', 'egg_info'] - result = build_lib.runCommand(exp, timeout=60, logger=ignore) + result = build_lib.runCommand(exp, timeout=60, logger=ignore, ignorepreexec=True) if result != 0: self.raiseError(' '.join(exp) + ' failed with error code %d' % result) @@ -282,13 +282,13 @@ def putEggInDevelopMode(self): exp = [self.PYTHON, "setup.py", "develop", "-x", "--install-dir=%s" % self.CHANDLERHOME] - result = build_lib.runCommand(exp, timeout=60, logger=ignore) + result = build_lib.runCommand(exp, timeout=60, logger=ignore, ignorepreexec=True) if result != 0: self.raiseError(' '.join(exp) + ' failed with error code %d' % result) def packageEggForDistribution(self): exp = [self.PYTHON, "setup.py", "bdist_egg"] - result = build_lib.runCommand(exp, timeout=60, logger=ignore) + result = build_lib.runCommand(exp, timeout=60, logger=ignore, ignorepreexec=True) if result != 0: self.raiseError(' '.join(exp) + ' failed with error code %d' % result)
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
