Skip to main content

Run

Runs the ONLYOFFICE Document Builder executable with a script file as an argument.

note

For JS, this method is not used.

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")