

Shawl
Shawl is a wrapper for running arbitrary programs as Windows services, written in Rust. It handles the Windows service API for you so that your program only needs to respond to ctrl-C/SIGINT. If you're creating a project that needs to run as a service, simply bundle Shawl...
Cost / License
- Free
- Open Source
Platforms
- Windows
Features
- Command line interface
- Run as a Service
- Rust
Tags
- service-manager
- restart-crashed-programs
- windows-service
- system-utilities
Shawl News & Activities
Recent activities
Shawl information
What is Shawl?
Shawl is a wrapper for running arbitrary programs as Windows services, written in Rust. It handles the Windows service API for you so that your program only needs to respond to ctrl-C/SIGINT. If you're creating a project that needs to run as a service, simply bundle Shawl with your project, set it as the entry point, and pass the command to run via CLI. Shawl will inspect the state of your program in order to report the correct status to Windows.
Shawl differs from existing solutions in that they often require running a special install command to prepare the service, which means, for example, that you have to run a CustomAction step if you need to install a service in an MSI. With Shawl, you can configure the service however you want, such as with the normal ServiceInstall step in an MSI or by running "sc create", because Shawl doesn't have any special setup of its own. The "shawl add" command is just an optional convenience.



