mtkennerly / shawl

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

Feature request: Start process with specified priority #35

Closed Bill-Stewart closed 9 months ago

Bill-Stewart commented 9 months 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 9 months 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 9 months ago

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

Bill-Stewart commented 9 months ago

Excellent, thank you @mtkennerly!