Skip to content

pb_client.autostart.neutral_directory

neutral_directory()

Return where the service should be started from: the filesystem root.

Computed rather than a constant so that it cannot depend on what the working directory happened to be when this module was imported -- pb -C may have moved to another drive since.

Returns:

Type Description
Path

The root of the current drive, which is always a directory that exists.