MCPcopy Index your code
hub / github.com/aws/aws-cli / WindowsPagingHelpRenderer

Class WindowsPagingHelpRenderer

awscli/help.py:297–306  ·  view source on GitHub ↗

Render help content on a Windows platform.

Source from the content-addressed store, hash-verified

295
296
297class 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
309class WindowsHelpRenderer(WindowsPagingHelpRenderer):

Callers 1

get_rendererFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected