launch.substitutions.launch_log_dir module

Module for the LaunchLogDir substitution.

class launch.substitutions.launch_log_dir.LaunchLogDir[source]

Bases: Substitution

Substitution that returns the absolute path to the current launch log directory.

__init__() None[source]

Create a LaunchLogDir substitution.

describe() str[source]

Return a description of this substitution as a string.

classmethod parse(data: Sequence[str | Substitution | Iterable[str | Substitution]])[source]

Parse LaunchLogDir substitution.

perform(context: LaunchContext) str[source]

Perform the substitution by returning the path to the current launch log directory.