delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3BCF19C7.C379B42B@mff.cuni.cz> |
Date: | Thu, 18 Oct 2001 20:04:55 +0200 |
From: | Pavel Kudrna <Pavel DOT Kudrna AT mff DOT cuni DOT cz> |
X-Mailer: | Mozilla 4.78 [en] (Win98; U) |
X-Accept-Language: | en,cs |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | cygrunsrv --chdir bug |
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! Pavel Kudrna. $ cygrunsrv -v cygrunsrv V0.94, Jul 11 2001 $ ls -l /bin/cygrunsrv.exe -rwxrwxr-x 1 kudrna Administ 33280 Jul 11 15:00 /bin/cygrunsrv.exe -- 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 |