Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 19 Oct 2001 10:20:56 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygrunsrv --chdir bug
Message-ID: <20011019102056.A6976@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <3BCF19C7.C379B42B@mff.cuni.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3BCF19C7.C379B42B@mff.cuni.cz>; from Pavel.Kudrna@mff.cuni.cz on Thu, Oct 18, 2001 at 08:04:55PM +0200

On Thu, Oct 18, 2001 at 08:04:55PM +0200, Pavel Kudrna wrote:
> Hi,
> cygrunsrv doesn't behave like --help says:
> 
> $ cygrunsrv -I AAAservice -p /bin/bash -a "any_arguments"
> 
> This is OK. It sets "AppArgs" value in registry to "any_arguments".
> Let's remove the "AAAservice" service
> 
> $ cygrunsrv -R AAAservice
> 
> and try the same like above but with working directory specified
> 
> $ cygrunsrv -I AAAservice -p /bin/bash -a "any_arguments" -c /
> 
> option -c (or --chdir) sets the registry value "AppArgs" to "/" and
> the value specified after --args option is lost!

Thanks for the hint.  I've uploaded a fixed version to sourceware.
It should be on the mirrors at least tomorrow.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

