runQuarkdown
Executes a complete Quarkdown pipeline in session, over a fresh context that is closed once done.
This is the entry point used by both the CLI and any in-process embedder. On any PipelineException the exception propagates to the caller, for embedders to catch and handle. If CliOptions.timeoutSeconds is set and expires, an ExecutionTimeoutException is raised instead.
Return
the outcome of the executed pipeline, carrying the produced resource, directory (if any) and context
Parameters
launch strategy of the pipeline, e.g. from file or REPL
session to run the pipeline in
options that define the behavior of the CLI, especially I/O and the execution timeout
Throws
if the pipeline fails and its error handler rethrows the error
if CliOptions.timeoutSeconds is set and the execution exceeds it
Executes a complete Quarkdown pipeline in a new session created from the given options.
Return
the outcome of the executed pipeline
Parameters
launch strategy of the pipeline, e.g. from file or REPL
options that define the behavior of the CLI
options that define the behavior of the pipeline