Permalink
Browse files

(addresses: #255) rm commands can't use usePTY

Just fixes one instance of the problem as discussed in http://buildbot.net/trac/ticket/255
  • Loading branch information...
Chad Metcalf
Chad Metcalf committed Dec 30, 2008
1 parent 1a1fa34 commit 97240c6cdd527f5414e98336274e0652368cce3b
Showing with 4 additions and 0 deletions.
  1. +4 −0 buildbot/slave/commands.py
@@ -1396,6 +1396,10 @@ def doClobber(self, dummy, dirname):
command = ["rm", "-rf", d]
c = ShellCommand(self.builder, command, self.builder.basedir,
sendRC=0, timeout=self.timeout)
# Work around for Bug #255
c.usePTY = False
self.command = c
# sendRC=0 means the rm command will send stdout/stderr to the
# master, but not the rc=0 when it finishes. That job is left to

0 comments on commit 97240c6

Please sign in to comment.