# numpy.distutils.ccompiler.CCompiler_spawn

distutils.ccompiler.CCompiler_spawn(self, cmd, display=None, env=None)

  Execute a command in a sub-process.

  Parameters:
    cmd str

      The command to execute.

    display str or sequence of str, optional

      The text to add to the log file kept by `numpy.distutils`. If not given, display is equal to `cmd`.

    env a dictionary for environment variables, optional
  Returns:
    None
  Raises:
    DistutilsExecError

      If the command failed, i.e. the exit status was not 0.