Cygwin inherits Windows environment variables, this should be the simplest take.

Am 30.12.2020 um 21:09 schrieb Oleksandr Gavenko via Cygwin:
Hi!

What way can I pass env var "CYGWIN" to the Cygwin service?

There are no that many influential options here:

   https://cygwin.com/cygwin-ug-net/using-cygwinenv.html

I can think of "winsymlinks:native" or "wincmdln".

Process Explorer shows following env vars for Cygwin's Exim process:

   PATH
   SYSTEMDRIVE
   SYSTEMROOT
   WINDIR

I configured it with "exim-config" and it is in the list of:

   cygrunsrv -L

I'm not sure if it is served by cygserver:

   https://cygwin.com/cygwin-ug-net/using-cygserver.html



--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to