runProgram

lsst.ts.wep.utils.runProgram(command, binDir=None, argstring=None, stdout=None, stderr=None)

Run the program w/o arguments.

Parameters:
commandstr

Command of application.

binDirstr, optional

Directory of binary application. (the default is None.)

argstringstr, optional

Arguments of program. (the default is None.)

stdout, stderrstr or _io.TextIOWrapper, optional

Buffered text output/error streams or filenames

Raises:
RuntimeError

Error running of command.