delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <ADeFaria AT Salira DOT com> |
Subject: | Re: error setting up ipc-daemon |
Date: | Tue, 18 Feb 2003 10:54:41 -0800 |
Lines: | 31 |
Message-ID: | <3E528171.8040009@Salira.com> |
References: | <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030218080515 DOT 02ee9710 AT pop3 DOT cris DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0302181257400 DOT 7773-100000 AT slinky DOT cs DOT nyu DOT edu> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 |
X-Accept-Language: | en-us, en, ru, zh |
Igor Pechtchanski wrote: > Randall, > > An excerpt from "cygrunsrv --help" below > > -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. > Note: /bin is always added to $PATH to allow all > started applications to find at least cygwin1.dll. > > shows that you shouldn't really need to add c:\cygwin\bin to your system > path (if one uses cygrunsrv, that is). If that is not the case, then it's > a bug in cygrunsrv (or an error in documentation). > Igor Or perhaps you're reading it wrong. I read it as cygrunsrv will stick these environment variables into the environment of the process that it starts. Of course starting of cygrunsrv will also require access to cygwin1.dll and if that is not in your Windows System Environment Variable PATH (i.e. where the services pick up their environment variable PATH - before you log in) then cygrunsrv will fail too. You see the way I see it cygrunsrv starts then forks the "service" you configured with it. Of course this now brings up the question of why doesn't cygrunsrv "exec" the service so that you don't see extra cygrunsrv processes in Task Manager. Perhaps the answer is that then it can't stuff the child's environment with these --env parms. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |