rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Functions | |
def | run (cmds, returnOutput=True, **kwargs) |
def rfm2.utils.cmd.run | ( | cmds, | |
returnOutput = True , |
|||
** | kwargs | ||
) |
Execute an external command via subprocess. Arguments: cmds {str} -- the command string Keyword Arguments: returnOutput {bool} -- block until done and return (stdout, stderr) (default: {True}) kwargs {dict} -- extra keyword arguments to subprocess.Popen() Returns: tuple -- (stdout, stderr) if returnOutput is true