Render help content on a Windows platform.
| 295 | |
| 296 | |
| 297 | class WindowsPagingHelpRenderer(PagingHelpRenderer): |
| 298 | """Render help content on a Windows platform.""" |
| 299 | |
| 300 | PAGER = 'more' |
| 301 | |
| 302 | def _popen(self, *args, **kwargs): |
| 303 | # Also set the shell value to True. To get any of the |
| 304 | # piping to a pager to work, we need to use shell=True. |
| 305 | kwargs['shell'] = True |
| 306 | return Popen(*args, **kwargs) |
| 307 | |
| 308 | |
| 309 | class WindowsHelpRenderer(WindowsPagingHelpRenderer): |