Skip to content

Commit

Permalink
(addresses: buildbot#255) rm commands can't use usePTY
Browse files Browse the repository at this point in the history
Just fixes one instance of the problem as discussed in http://buildbot.net/trac/ticket/255
  • Loading branch information
Chad Metcalf committed Dec 30, 2008
1 parent 1a1fa34 commit 97240c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildbot/slave/commands.py
Expand Up @@ -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
Expand Down

0 comments on commit 97240c6

Please sign in to comment.