runProgram#
- lsst.ts.wep.utils.runProgram(command, binDir=None, argstring=None, stdout=None, stderr=None)#
Run the program w/o arguments.
- Parameters:
command (str) – Command of application.
binDir (str, optional) – Directory of binary application. (the default is None.)
argstring (str, optional) – Arguments of program. (the default is None.)
stdout (str or _io.TextIOWrapper, optional) – Buffered text output/error streams or filenames
stderr (str or _io.TextIOWrapper, optional) – Buffered text output/error streams or filenames
- Raises:
RuntimeError – Error running of command.
- Return type: