Setting env var CYGWIN for Cygwin service?
Bill Stewart
bstewart@iname.com
Thu Dec 31 15:04:09 GMT 2020
On Wed, Dec 30, 2020 at 1:09 PM Oleksandr Gavenko wrote:
> What way can I pass env var "CYGWIN" to the Cygwin service?
cygrunsrv --help shows this:
-e, --env <VAR=VALUE> Optional environment strings which are added
to the environment when service is started. You can add up to 255
environment strings using the `--env' option.
These are added as REG_SZ values in
HKLM\SYSTEM\CurrentControlSet\Services\<servicename>\Parameters\Environment
registry subkey.
Bill
More information about the Cygwin
mailing list