nuke.executeBackgroundNuke

nuke.executeBackgroundNuke(exe_path, nodes, frameRange, views, limits, continueOnError = False, flipbookToRun =, flipbookOptions = {}) → None

Run an instance of Nuke as a monitored sub process. Returns an integer that’s used as unique id for the started task. If it failed to launch this will be -1. :param exe_path: Path to Nuke or a script that can take Nuke arguments. You probably want to supply nuke.EXE_PATH. :param nodes: A list of nodes to execute. :param frameRanges: List of frame ranges to execute. :param views: A list of view names to execute. :param limits: A dictionary with system limits, currently uses keys maxThreads and maxCache. :param flipbookToRun: The name of the flipbook application to run after the render, or an empty string if not desired. :param flipbookOptions: A dictionary with options to pass to the flipbook. These should include roi and pixelAspect. :return: Int.