(self)
| 107 | self._cwd = cwd |
| 108 | |
| 109 | def _get_relative_program(self): |
| 110 | assert self._cwd |
| 111 | relative_filename = self.filename.strpath[len(self._cwd) :] |
| 112 | assert not relative_filename.startswith(("/", "\\")) |
| 113 | return relative_filename |
| 114 | |
| 115 | def __repr__(self): |
| 116 | if self._cwd: |