diff --git a/buildbot/slave/commands.py b/buildbot/slave/commands.py
index f84f703..b848c4f 100644
|
a
|
b
|
class ShellCommand: |
| 342 | 342 | else: |
| 343 | 343 | argv = self.command |
| 344 | 344 | |
| | 345 | # $PWD usually indicates the current directory; spawnProcess may not |
| | 346 | # update this value, though, so we set it explicitly here. |
| | 347 | self.environ['PWD'] = os.path.abspath(self.workdir) |
| | 348 | |
| 345 | 349 | # self.stdin is handled in ShellCommandPP.connectionMade |
| 346 | 350 | |
| 347 | 351 | # first header line is the command in plain text, argv joined with |