Sha256: 3b7207005aad0a91f189cff662ecb8d62b9710acf18e973321997f2acb66f757
Contents?: true
Size: 759 Bytes
Versions: 5
Compression:
Stored size: 759 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
5 entries across 5 versions & 1 rubygems