Skip to content

Status

Snapshot of a service's current status.

Returned by Service.query_status and Service.control.

Fields

check_point @ Int

Progress checkpoint the service increments during a pending operation.

controls_accepted @ ServiceControlsAccepted

Controls the service accepts in its current state.

current_state @ (ServiceState | Int)

Service state. A native value this module does not name is returned as an Int.

process_id @ Int

Identifier of the service's process.

service_specific_exit_code @ Int

Service-defined exit code.

service_type @ ServiceType

Service type flags.

wait_hint @ Int

Milliseconds the service expects a pending operation to take.

win32_exit_code @ Int

Windows error code from the service's last start or stop.