Skip to main content

Run

Runs a script file in the current process. The script has the same syntax as when it is run with the CLI.

note

This method is not available for JS.

Syntax​

def Run(self, path: str) -> bool

Parameters​

NameTypeDescription
pathstrThe path to the JS script file.

Example​

import docbuilder

builder = docbuilder.CDocBuilder()
builder.Run("path-to-script.js")