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.

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.21/reference/generated/numpy.distutils.ccompiler.CCompiler_spawn.html