AsBackground(bool, bool) Method
Starts the process and leaves it running in the background.
Namespace
Statiq.Core
Containing Type
StartProcess

Syntax

public StartProcess AsBackground(bool background = true, bool onlyOnce = true)

Remarks

If the process is a background process, the module will fork it and let it run, but no output document will be generated and it will log with a debug level.

Parameters

Name Type Description
background bool true to start this process in the background, false otherwise.
onlyOnce bool true to start the process the first time the module is executed and not on re-execution, false to start a new process on every execution.

Return Value

Type Description
StartProcess The current module instance.