runExternal¶
-
lsst.sconsUtils.utils.runExternal(cmd, fatal=False, msg=None)¶ Safe wrapper for running external programs, reading stdout, and sanitizing error messages.
Parameters: Returns: - output :
str Entire program output is returned, not just a single line.
Raises: - RuntimeError
If the command fails and
fatalisTrue.
- output :