numpy.distutils.ccompiler.CCompiler_spawn

distutils.ccompiler.CCompiler_spawn(self, cmd, display=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 to cmd.

Returns
None
Raises
DistutilsExecError

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