idmtools.utils.command_line module

idmtools.utils.command_line.suppress_output(stdout=True, stderr=True)

Suppress any print/logging from a block of code.

Parameters
  • stdout – If True, hide output from stdout; if False, show it.

  • stderr – If True, hide output from stderr; if False, show it.