Sha256: c90f62e45fa55f3cc023b1ca85e91e1e5564d450453b2eea634f2e0f4295dfc9
Contents?: true
Size: 729 Bytes
Versions: 9
Compression:
Stored size: 729 Bytes
Contents
####################################################################### # demo_services.rb # # Test script for general futzing that shows off the basic # capabilities of this library. Modify as you see fit. # # You can run this sample program via the "example:services" task. ####################################################################### require 'win32/service' include Win32 puts "VERSION: " + Service::VERSION p Service.exists?('Schedule') p Service.exists?('bogusxxx') status = Service.status('Schedule') p status info = Service.config_info('Schedule') print "\n\nShowing config info for Schedule service\n\n" p info print "\n\nAbout to show all services\n\n" sleep 10 Service.services{ |struct| p struct }
Version data entries
9 entries across 9 versions & 1 rubygems