class_docstr: API shim for ninja_syntax.Writer that instead runs the commands.
  
  Used to bootstrap Ninja from scratch.  In --bootstrap mode this
  class is used to execute all the commands to build an executable.
  It also proxies all calls to an underlying ninja_syntax.Writer, to
  behave like non-bootstrap mode.
class_docstr_tok: ["API","shim","for","ninja_syntax.Writer","that","instead","runs","the","commands",".","Used","to","bootstrap","Ninja","from","scratch",".","In","--","bootstrap","mode","this","class","is","used","to","execute","all","the","commands","to","build","an","executable",".","It","also","proxies","all","calls","to","an","underlying","ninja_syntax.Writer",",","to","behave","like","non-bootstrap","mode","."]
docstr: Run a subcommand, quietly.  Prints the full command on error.
code: def _run_command(self, cmdline):
      """Run a subcommand, quietly.  Prints the full command on error."""
      try:
          if self.verbose:
              print(cmdline)
          subprocess.check_call(cmdline, shell=True)
      except subprocess.CalledProcessError:
          print("when running: ", cmdline)
          raise
  
imports: from optparse import OptionParser
  import os
  import shlex
  import subprocess
  import sys
  import ninja_syntax
label_desc: Use image node_id 11 for calling the Bootstrap obj's underlying member method code with example usage: obj._run_command(cmdline) without return types