Categories: None [Edit]

winsvc

https://rubygems.org/gems/winsvc
https://github.com/main-path/winsvc
winsvc runs a Ruby process as a Windows service (SERVICE_WIN32_OWN_PROCESS) with correct service-control-manager integration: the control handler is pure C (no Ruby ever runs on an SCM thread), controls arrive on a Thread::Queue (fiber-scheduler cooperative), SERVICE_STOPPED is reported exactly once, and checkpoints are only ever honest. The same block runs unchanged as a console program for development. Includes a minimal installer (CreateServiceW, delayed auto-start, restart-on-failure recovery) and a correctly quoted sc.exe command generator. Windows MSVC (mswin) Ruby only.

Total

Ranking: 194,546 of 195,377
Downloads: 229

Daily

Ranking: 83,041 of 195,357
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,372,888,227rake
141,261,527,762minitest
1,47029,384,845rake-compiler
191,840455vcvars

Owners

#GravatarHandle
1iconnedpus