mullvad / windows-service-rs

Windows services in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command-line arguments are not parsed in `Service::query_config`

dlon opened this issue · comments

ServiceConfig::executable_path (a PathBuf) is just a copy of lpBinaryPathName from QUERY_SERVICE_CONFIGW. It would make sense to parse lpBinaryPathName first, as it may contain arguments.