This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cygrunsrv --chdir bug


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]