Skip to content

Instantly share code, notes, and snippets.

@thomasbiddle
Created September 10, 2013 19:32
Show Gist options
  • Save thomasbiddle/a910c237ca517b968295 to your computer and use it in GitHub Desktop.
Save thomasbiddle/a910c237ca517b968295 to your computer and use it in GitHub Desktop.
=> #<struct Struct::ServiceStatus service_type="own process", current_state="run
ning", controls_accepted=["pause continue", "shutdown", "stop"], win32_exit_code
=0, service_specific_exit_code=0, check_point=0, wait_hint=0, interactive=false,
pid=3888, service_flags=0>
# How to I return the current_state from this object?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment