mtkennerly / shawl

Windows service wrapper for arbitrary commands
MIT License
518 stars 15 forks source link

Feature request: Start process with specified priority #35

Closed Bill-Stewart closed 1 year ago

Bill-Stewart commented 1 year ago

Cool project, thanks!

I think it would be a nice convenience feature to be able to specify the service executable's process priority; e.g.:

shawl run --priority belownormal ...
Bill-Stewart commented 1 year ago

Actually, it would be more than just a convenience feature. If I use an intermediate application to spawn the service executable with a different priority, it appears that the Ctrl+C signal doesn't get sent to the spawned process. The result is that the spawned process stays running but the service is stopped. Being able to specify a process priority would fix this.

mtkennerly commented 1 year ago

This is now available in v1.3.0 :) Thanks for the suggestion!

Bill-Stewart commented 1 year ago

Excellent, thank you @mtkennerly!