Adds a new process that runs in the background and will be started when not in the preview command.
- Namespace
- Statiq
.Web - Containing Type
- ProcessesExtensions
Syntax
public static Processes AddBackgroundNonPreviewProcess(this Processes processes, ProcessTiming processTiming, string fileName, params string[] arguments)
Parameters
Name | Type | Description |
---|---|---|
processes | Processes | The processes collection. |
processTiming | ProcessTiming | When to start the process. |
fileName | string | The file name of the process to start. |
arguments | string[] | The arguments to pass to the process. |
Return Value
Type | Description |
---|---|
Processes | The process collection. |