Return (status,output) of executed command.
Deprecated since version 1.17: Use subprocess.Popen instead
A concatenated string of executable and arguments.
Before running command cd execute_in and after cd -.
If True, execute sh -c command. Default None (True)
If True use tee. Default None (True)
Both stdout and stderr messages.
On NT, DOS systems the returned status is correct for external commands. Wild cards will not work for non-posix systems or when use_shell=0.
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.distutils.exec_command.exec_command.html