# Functions
Context creates a context setup with the given timeout.
Do f if nomad was launched as, "nomad [name]".
Log the given output to the logger.
Print the given message to standard error.
Self returns the path to the executable of this process.
SetExpiration is used to ensure the process terminates, once ctx is complete.
# Constants
ExitFailure indicates the subprocess terminated unsuccessfully.
ExitSuccess indicates the subprocess completed successfully.
ExitTimeout indicates the subprocess timed out before completion.
# Type aliases
MainFunc is the function that runs for this sub-process.