Set arguments for the service
Currently there is no way to register a service with specific arguments. It would be nice to be able to pass Vec<String> to controller.create, so that the services is registered with the corrects args array.
If breaking changes are undesirable, a sibling method like controller.create_with_args would also be ok.
If there is any workaround to set arguments to a service, please let me know.
We agree with the suggested change (new controller.create_with_args method), if you can submit a pull request, we'll review it
I cannot figure out how to pass start parameters for the service on windows (at least consistently). If we just modify the ImagePath it doesn't pass the params to service_main_wrapper. However manually editing Start parameters field in services.msc does apply them correctly for a single manual run. I haven't found a way (even manually editing registry) to replicate the Start parameters on every service restart. Am I missing something? Any ideas?