numpy.distutils.ccompiler.CCompiler_spawn#
- distutils.ccompiler.CCompiler_spawn(self, cmd, display=None, env=None)[source]#
Execute a command in a sub-process.
- Parameters
- cmdstr
The command to execute.
- displaystr or sequence of str, optional
The text to add to the log file kept by
numpy.distutils
. If not given, display is equal tocmd
.- enva dictionary for environment variables, optional
- Returns
- None
- Raises
- DistutilsExecError
If the command failed, i.e. the exit status was not 0.